home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / python-support / python-gdata / gdata / test_data.py < prev    next >
Encoding:
Text File  |  2009-02-11  |  180.2 KB  |  2,838 lines

  1. #
  2. # Copyright (C) 2006 Google Inc.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. #      http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15.  
  16.  
  17.  
  18. XML_ENTRY_1 = """<?xml version='1.0'?>
  19. <entry xmlns='http://www.w3.org/2005/Atom'
  20.        xmlns:g='http://base.google.com/ns/1.0'>
  21.   <category scheme="http://base.google.com/categories/itemtypes"
  22.             term="products"/>
  23.   <id>    http://www.google.com/test/id/url   </id>
  24.   <title type='text'>Testing 2000 series laptop</title>
  25.   <content type='xhtml'>
  26.     <div xmlns='http://www.w3.org/1999/xhtml'>A Testing Laptop</div>
  27.   </content>
  28.   <link rel='alternate' type='text/html'
  29.         href='http://www.provider-host.com/123456789'/>
  30.   <link rel='license' 
  31.         href='http://creativecommons.org/licenses/by-nc/2.5/rdf'/>
  32.   <g:label>Computer</g:label>
  33.   <g:label>Laptop</g:label>
  34.   <g:label>testing laptop</g:label>
  35.   <g:item_type>products</g:item_type>
  36. </entry>"""
  37.  
  38.  
  39. TEST_BASE_ENTRY = """<?xml version='1.0'?>
  40. <entry xmlns='http://www.w3.org/2005/Atom'
  41.        xmlns:g='http://base.google.com/ns/1.0'>
  42.   <category scheme="http://base.google.com/categories/itemtypes"
  43.             term="products"/>
  44.   <title type='text'>Testing 2000 series laptop</title>
  45.   <content type='xhtml'>
  46.     <div xmlns='http://www.w3.org/1999/xhtml'>A Testing Laptop</div>
  47.   </content>
  48.   <app:control xmlns:app='http://purl.org/atom/app#'>
  49.     <app:draft>yes</app:draft>
  50.     <gm:disapproved xmlns:gm='http://base.google.com/ns-metadata/1.0'/>   
  51.   </app:control>
  52.   <link rel='alternate' type='text/html'
  53.         href='http://www.provider-host.com/123456789'/>
  54.   <g:label>Computer</g:label>
  55.   <g:label>Laptop</g:label>
  56.   <g:label>testing laptop</g:label>
  57.   <g:item_type>products</g:item_type>
  58. </entry>"""
  59.  
  60.  
  61. BIG_FEED = """<?xml version="1.0" encoding="utf-8"?>
  62.    <feed xmlns="http://www.w3.org/2005/Atom">
  63.      <title type="text">dive into mark</title>
  64.      <subtitle type="html">
  65.        A <em>lot</em> of effort
  66.        went into making this effortless
  67.      </subtitle>
  68.      <updated>2005-07-31T12:29:29Z</updated>
  69.      <id>tag:example.org,2003:3</id>
  70.      <link rel="alternate" type="text/html"
  71.       hreflang="en" href="http://example.org/"/>
  72.      <link rel="self" type="application/atom+xml"
  73.       href="http://example.org/feed.atom"/>
  74.      <rights>Copyright (c) 2003, Mark Pilgrim</rights>
  75.      <generator uri="http://www.example.com/" version="1.0">
  76.        Example Toolkit
  77.      </generator>
  78.      <entry>
  79.        <title>Atom draft-07 snapshot</title>
  80.        <link rel="alternate" type="text/html"
  81.         href="http://example.org/2005/04/02/atom"/>
  82.        <link rel="enclosure" type="audio/mpeg" length="1337"
  83.         href="http://example.org/audio/ph34r_my_podcast.mp3"/>
  84.        <id>tag:example.org,2003:3.2397</id>
  85.        <updated>2005-07-31T12:29:29Z</updated>
  86.        <published>2003-12-13T08:29:29-04:00</published>
  87.        <author>
  88.          <name>Mark Pilgrim</name>
  89.          <uri>http://example.org/</uri>
  90.          <email>f8dy@example.com</email>
  91.        </author>
  92.        <contributor>
  93.          <name>Sam Ruby</name>
  94.        </contributor>
  95.        <contributor>
  96.          <name>Joe Gregorio</name>
  97.        </contributor>
  98.        <content type="xhtml" xml:lang="en"
  99.         xml:base="http://diveintomark.org/">
  100.          <div xmlns="http://www.w3.org/1999/xhtml">
  101.            <p><i>[Update: The Atom draft is finished.]</i></p>
  102.          </div>
  103.        </content>
  104.      </entry>
  105.    </feed>
  106. """
  107.  
  108. SMALL_FEED = """<?xml version="1.0" encoding="utf-8"?>
  109.    <feed xmlns="http://www.w3.org/2005/Atom">
  110.      <title>Example Feed</title>
  111.      <link href="http://example.org/"/>
  112.      <updated>2003-12-13T18:30:02Z</updated>
  113.      <author>
  114.        <name>John Doe</name>
  115.      </author>
  116.      <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
  117.      <entry>
  118.        <title>Atom-Powered Robots Run Amok</title>
  119.        <link href="http://example.org/2003/12/13/atom03"/>
  120.        <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
  121.        <updated>2003-12-13T18:30:02Z</updated>
  122.        <summary>Some text.</summary>
  123.      </entry>
  124.    </feed>
  125. """
  126.  
  127. GBASE_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  128. <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:g='http://base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/batch'>
  129. <id>http://www.google.com/base/feeds/snippets</id>
  130. <updated>2007-02-08T23:18:21.935Z</updated>
  131. <title type='text'>Items matching query: digital camera</title>
  132. <link rel='alternate' type='text/html' href='http://base.google.com'>
  133. </link>
  134. <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets'>
  135. </link>
  136. <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets?start-index=1&max-results=25&bq=digital+camera'>
  137. </link>
  138. <link rel='next' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets?start-index=26&max-results=25&bq=digital+camera'>
  139. </link>
  140. <generator version='1.0' uri='http://base.google.com'>GoogleBase              </generator>
  141. <openSearch:totalResults>2171885</openSearch:totalResults>
  142. <openSearch:startIndex>1</openSearch:startIndex>
  143. <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  144. <entry>
  145. <id>http://www.google.com/base/feeds/snippets/13246453826751927533</id>
  146. <published>2007-02-08T13:23:27.000Z</published>
  147. <updated>2007-02-08T16:40:57.000Z</updated>
  148. <category scheme='http://base.google.com/categories/itemtypes' term='Products'>
  149. </category>
  150. <title type='text'>Digital Camera Battery Notebook Computer 12v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables</title>
  151. <content type='html'>Notebook Computer 12v DC Power Cable - 5.5mm x 2.1mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power portable computers that operate with 12v power and have a 2.1mm power connector (center +) Digital  ...</content>
  152. <link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305668&is=REG&kw=DIDCB5092&BI=583'>
  153. </link>
  154. <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/13246453826751927533'>
  155. </link>
  156. <author>
  157. <name>B&H Photo-Video</name>
  158. <email>anon-szot0wdsq0at@base.google.com</email>
  159. </author>
  160. <g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes>
  161. <g:condition type='text'>new</g:condition>
  162. <g:location type='location'>420 9th Ave. 10001</g:location>
  163. <g:id type='text'>305668-REG</g:id>
  164. <g:item_type type='text'>Products</g:item_type>
  165. <g:brand type='text'>Digital Camera Battery</g:brand>
  166. <g:expiration_date type='dateTime'>2007-03-10T13:23:27.000Z</g:expiration_date>
  167. <g:customer_id type='int'>1172711</g:customer_id>
  168. <g:price type='floatUnit'>34.95 usd</g:price>
  169. <g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type>
  170. <g:item_language type='text'>EN</g:item_language>
  171. <g:manufacturer_id type='text'>DCB5092</g:manufacturer_id>
  172. <g:target_country type='text'>US</g:target_country>
  173. <g:weight type='float'>1.0</g:weight>
  174. <g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305668.jpg&dhm=ffffffff84c9a95e&size=6</g:image_link>
  175. </entry>
  176. <entry>
  177. <id>http://www.google.com/base/feeds/snippets/10145771037331858608</id>
  178. <published>2007-02-08T13:23:27.000Z</published>
  179. <updated>2007-02-08T16:40:57.000Z</updated>
  180. <category scheme='http://base.google.com/categories/itemtypes' term='Products'>
  181. </category>
  182. <title type='text'>Digital Camera Battery Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables</title>
  183. <content type='html'>Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power any electronic device that operates with 5v power and has a 2.5mm power connector (center +) Digital  ...</content>
  184. <link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305656&is=REG&kw=DIDCB5108&BI=583'>
  185. </link>
  186. <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/10145771037331858608'>
  187. </link>
  188. <author>
  189. <name>B&H Photo-Video</name>
  190. <email>anon-szot0wdsq0at@base.google.com</email>
  191. </author>
  192. <g:location type='location'>420 9th Ave. 10001</g:location>
  193. <g:condition type='text'>new</g:condition>
  194. <g:weight type='float'>0.18</g:weight>
  195. <g:target_country type='text'>US</g:target_country>
  196. <g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type>
  197. <g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes>
  198. <g:id type='text'>305656-REG</g:id>
  199. <g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305656.jpg&dhm=7315bdc8&size=6</g:image_link>
  200. <g:manufacturer_id type='text'>DCB5108</g:manufacturer_id>
  201. <g:upc type='text'>838098005108</g:upc>
  202. <g:price type='floatUnit'>34.95 usd</g:price>
  203. <g:item_language type='text'>EN</g:item_language>
  204. <g:brand type='text'>Digital Camera Battery</g:brand>
  205. <g:customer_id type='int'>1172711</g:customer_id>
  206. <g:item_type type='text'>Products</g:item_type>
  207. <g:expiration_date type='dateTime'>2007-03-10T13:23:27.000Z</g:expiration_date>
  208. </entry>
  209. <entry>
  210. <id>http://www.google.com/base/feeds/snippets/3128608193804768644</id>
  211. <published>2007-02-08T02:21:27.000Z</published>
  212. <updated>2007-02-08T15:40:13.000Z</updated>
  213. <category scheme='http://base.google.com/categories/itemtypes' term='Products'>
  214. </category>
  215. <title type='text'>Digital Camera Battery Power Cable for Kodak 645 Pro-Back ProBack & DCS-300 Series Camera Connecting Cables</title>
  216. <content type='html'>Camera Connection Cable - to Power Kodak 645 Pro-Back DCS-300 Series Digital Cameras This connection cable will allow any Digital Pursuits battery pack to power the following digital cameras: Kodak DCS Pro Back 645 DCS-300 series Digital Photography ...</content>
  217. <link rel='alternate' type='text/html' href='http://www.bhphotovideo.com/bnh/controller/home?O=productlist&A=details&Q=&sku=305685&is=REG&kw=DIDCB6006&BI=583'>
  218. </link>
  219. <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/snippets/3128608193804768644'>
  220. </link>
  221. <author>
  222. <name>B&H Photo-Video</name>
  223. <email>anon-szot0wdsq0at@base.google.com</email>
  224. </author>
  225. <g:weight type='float'>0.3</g:weight>
  226. <g:manufacturer_id type='text'>DCB6006</g:manufacturer_id>
  227. <g:image_link type='url'>http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305685.jpg&dhm=72f0ca0a&size=6</g:image_link>
  228. <g:location type='location'>420 9th Ave. 10001</g:location>
  229. <g:payment_notes type='text'>PayPal & Bill Me Later credit available online only.</g:payment_notes>
  230. <g:item_type type='text'>Products</g:item_type>
  231. <g:target_country type='text'>US</g:target_country>
  232. <g:accessory_for type='text'>digital kodak camera</g:accessory_for>
  233. <g:brand type='text'>Digital Camera Battery</g:brand>
  234. <g:expiration_date type='dateTime'>2007-03-10T02:21:27.000Z</g:expiration_date>
  235. <g:item_language type='text'>EN</g:item_language>
  236. <g:condition type='text'>new</g:condition>
  237. <g:price type='floatUnit'>34.95 usd</g:price>
  238. <g:customer_id type='int'>1172711</g:customer_id>
  239. <g:product_type type='text'>Digital Photography>Camera Connecting Cables</g:product_type>
  240. <g:id type='text'>305685-REG</g:id>
  241. </entry>
  242. </feed>"""
  243.  
  244. EXTENSION_TREE = """<?xml version="1.0" encoding="utf-8"?>
  245.    <feed xmlns="http://www.w3.org/2005/Atom">
  246.      <g:author xmlns:g="http://www.google.com">
  247.        <g:name>John Doe
  248.          <g:foo yes="no" up="down">Bar</g:foo>
  249.        </g:name>
  250.      </g:author>
  251.    </feed>
  252. """
  253.  
  254. TEST_AUTHOR = """<?xml version="1.0" encoding="utf-8"?>
  255.    <author xmlns="http://www.w3.org/2005/Atom">
  256.        <name xmlns="http://www.w3.org/2005/Atom">John Doe</name>
  257.        <email xmlns="http://www.w3.org/2005/Atom">johndoes@someemailadress.com</email>
  258.        <uri xmlns="http://www.w3.org/2005/Atom">http://www.google.com</uri>
  259.    </author>
  260. """
  261.  
  262. TEST_LINK = """<?xml version="1.0" encoding="utf-8"?>
  263.    <link xmlns="http://www.w3.org/2005/Atom" href="http://www.google.com" 
  264.        rel="test rel" foo1="bar" foo2="rab"/>
  265. """
  266.  
  267. TEST_GBASE_ATTRIBUTE = """<?xml version="1.0" encoding="utf-8"?>
  268.    <g:brand type='text' xmlns:g="http://base.google.com/ns/1.0">Digital Camera Battery</g:brand>
  269. """
  270.    
  271.  
  272. CALENDAR_FEED = """<?xml version='1.0' encoding='utf-8'?>
  273. <feed xmlns='http://www.w3.org/2005/Atom'
  274. xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  275. xmlns:gd='http://schemas.google.com/g/2005'
  276. xmlns:gCal='http://schemas.google.com/gCal/2005'>
  277.   <id>http://www.google.com/calendar/feeds/default</id>
  278.   <updated>2007-03-20T22:48:57.833Z</updated>
  279.   <title type='text'>GData Ops Demo's Calendar List</title>
  280.   <link rel='http://schemas.google.com/g/2005#feed'
  281.   type='application/atom+xml'
  282.   href='http://www.google.com/calendar/feeds/default'></link>
  283.   <link rel='http://schemas.google.com/g/2005#post'
  284.   type='application/atom+xml'
  285.   href='http://www.google.com/calendar/feeds/default'></link>
  286.   <link rel='self' type='application/atom+xml'
  287.   href='http://www.google.com/calendar/feeds/default'></link>
  288.   <author>
  289.     <name>GData Ops Demo</name>
  290.     <email>gdata.ops.demo@gmail.com</email>
  291.   </author>
  292.   <generator version='1.0' uri='http://www.google.com/calendar'>
  293.   Google Calendar</generator>
  294.   <openSearch:startIndex>1</openSearch:startIndex>
  295.   <entry>
  296.     <id>
  297.     http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com</id>
  298.     <published>2007-03-20T22:48:57.837Z</published>
  299.     <updated>2007-03-20T22:48:52.000Z</updated>
  300.     <title type='text'>GData Ops Demo</title>
  301.     <link rel='alternate' type='application/atom+xml'
  302.     href='http://www.google.com/calendar/feeds/gdata.ops.demo%40gmail.com/private/full'>
  303.     </link>
  304.     <link rel='self' type='application/atom+xml'
  305.     href='http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com'>
  306.     </link>
  307.     <author>
  308.       <name>GData Ops Demo</name>
  309.       <email>gdata.ops.demo@gmail.com</email>
  310.     </author>
  311.     <gCal:color value='#2952A3'></gCal:color>
  312.     <gCal:accesslevel value='owner'></gCal:accesslevel>
  313.     <gCal:hidden value='false'></gCal:hidden>
  314.     <gCal:timezone value='America/Los_Angeles'></gCal:timezone>
  315.   </entry>
  316.   <entry>
  317.     <id>
  318.     http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com</id>
  319.     <published>2007-03-20T22:48:57.837Z</published>
  320.     <updated>2007-03-20T22:48:53.000Z</updated>
  321.     <title type='text'>GData Ops Demo Secondary Calendar</title>
  322.     <summary type='text'></summary>
  323.     <link rel='alternate' type='application/atom+xml'
  324.     href='http://www.google.com/calendar/feeds/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com/private/full'>
  325.     </link>
  326.     <link rel='self' type='application/atom+xml'
  327.     href='http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com'>
  328.     </link>
  329.     <author>
  330.       <name>GData Ops Demo Secondary Calendar</name>
  331.     </author>
  332.     <gCal:color value='#528800'></gCal:color>
  333.     <gCal:accesslevel value='owner'></gCal:accesslevel>
  334.     <gCal:hidden value='false'></gCal:hidden>
  335.     <gCal:timezone value='America/Los_Angeles'></gCal:timezone>
  336.     <gd:where valueString=''></gd:where>
  337.   </entry>
  338. </feed>
  339. """
  340.  
  341. CALENDAR_FULL_EVENT_FEED = """<?xml version='1.0' encoding='utf-8'?>
  342. <feed xmlns='http://www.w3.org/2005/Atom'
  343. xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  344. xmlns:gd='http://schemas.google.com/g/2005'
  345. xmlns:gCal='http://schemas.google.com/gCal/2005'>
  346.   <id>
  347.   http://www.google.com/calendar/feeds/default/private/full</id>
  348.   <updated>2007-03-20T21:29:57.000Z</updated>
  349.   <category scheme='http://schemas.google.com/g/2005#kind'
  350.   term='http://schemas.google.com/g/2005#event'></category>
  351.   <title type='text'>GData Ops Demo</title>
  352.   <subtitle type='text'>GData Ops Demo</subtitle>
  353.   <link rel='http://schemas.google.com/g/2005#feed'
  354.   type='application/atom+xml'
  355.   href='http://www.google.com/calendar/feeds/default/private/full'>
  356.   </link>
  357.   <link rel='http://schemas.google.com/g/2005#post'
  358.   type='application/atom+xml'
  359.   href='http://www.google.com/calendar/feeds/default/private/full'>
  360.   </link>
  361.   <link rel='self' type='application/atom+xml'
  362.   href='http://www.google.com/calendar/feeds/default/private/full?updated-min=2001-01-01&max-results=25'>
  363.   </link>
  364.   <author>
  365.     <name>GData Ops Demo</name>
  366.     <email>gdata.ops.demo@gmail.com</email>
  367.   </author>
  368.   <generator version='1.0' uri='http://www.google.com/calendar'>
  369.   Google Calendar</generator>
  370.   <openSearch:totalResults>10</openSearch:totalResults>
  371.   <openSearch:startIndex>1</openSearch:startIndex>
  372.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  373.   <gCal:timezone value='America/Los_Angeles'></gCal:timezone>
  374.   <entry>
  375.     <id>
  376.     http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100</id>
  377.     <published>2007-03-20T21:29:52.000Z</published>
  378.     <updated>2007-03-20T21:29:57.000Z</updated>
  379.     <category scheme='http://schemas.google.com/g/2005#kind'
  380.     term='http://schemas.google.com/g/2005#event'></category>
  381.     <title type='text'>test deleted</title>
  382.     <content type='text'></content>
  383.     <link rel='alternate' type='text/html'
  384.     href='http://www.google.com/calendar/event?eid=bzk5ZmxtZ21rZmtmcnI4dTc0NWdocjMxMDAgZ2RhdGEub3BzLmRlbW9AbQ'
  385.     title='alternate'></link>
  386.     <link rel='self' type='application/atom+xml'
  387.     href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100'>
  388.     </link>
  389.     <link rel='edit' type='application/atom+xml'
  390.     href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100/63310109397'>
  391.     </link>
  392.     <author>
  393.       <name>GData Ops Demo</name>
  394.       <email>gdata.ops.demo@gmail.com</email>
  395.     </author>
  396.     <gCal:sendEventNotifications value='false'>
  397.     </gCal:sendEventNotifications>
  398.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.canceled'>
  399.     </gd:eventStatus>
  400.     <gd:comments>
  401.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100/comments'>
  402.       </gd:feedLink>
  403.     </gd:comments>
  404.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  405.     </gd:visibility>
  406.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  407.     </gd:transparency>
  408.     <gd:when startTime='2007-03-23T12:00:00.000-07:00'
  409.     endTime='2007-03-23T13:00:00.000-07:00'>
  410.       <gd:reminder minutes='10'></gd:reminder>
  411.     </gd:when>
  412.     <gd:where></gd:where>
  413.   </entry>
  414.   <entry>
  415.     <id>
  416.     http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0</id>
  417.     <published>2007-03-20T21:26:04.000Z</published>
  418.     <updated>2007-03-20T21:28:46.000Z</updated>
  419.     <category scheme='http://schemas.google.com/g/2005#kind'
  420.     term='http://schemas.google.com/g/2005#event'></category>
  421.     <title type='text'>Afternoon at Dolores Park with Kim</title>
  422.     <content type='text'></content>
  423.     <link rel='alternate' type='text/html'
  424.     href='http://www.google.com/calendar/event?eid=MnF0M2FvNWhiYXE3bTlpZ3I1YWs5ZXNqbzAgZ2RhdGEub3BzLmRlbW9AbQ'
  425.     title='alternate'></link>
  426.     <link rel='self' type='application/atom+xml'
  427.     href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0'>
  428.     </link>
  429.     <link rel='edit' type='application/atom+xml'
  430.     href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0/63310109326'>
  431.     </link>
  432.     <author>
  433.       <name>GData Ops Demo</name>
  434.       <email>gdata.ops.demo@gmail.com</email>
  435.     </author>
  436.     <gCal:sendEventNotifications value='false'>
  437.     </gCal:sendEventNotifications>
  438.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  439.     </gd:eventStatus>
  440.     <gd:comments>
  441.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0/comments'>
  442.       </gd:feedLink>
  443.     </gd:comments>
  444.     <gd:visibility value='http://schemas.google.com/g/2005#event.private'>
  445.     </gd:visibility>
  446.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  447.     </gd:transparency>
  448.     <gd:who rel='http://schemas.google.com/g/2005#event.organizer'
  449.     valueString='GData Ops Demo' email='gdata.ops.demo@gmail.com'>
  450.       <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.accepted'>
  451.       </gd:attendeeStatus>
  452.     </gd:who>
  453.     <gd:who rel='http://schemas.google.com/g/2005#event.attendee'
  454.     valueString='Ryan Boyd (API)' email='api.rboyd@gmail.com'>
  455.       <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.invited'>
  456.       </gd:attendeeStatus>
  457.     </gd:who>
  458.     <gd:when startTime='2007-03-24T12:00:00.000-07:00'
  459.     endTime='2007-03-24T15:00:00.000-07:00'>
  460.       <gd:reminder minutes='20'></gd:reminder>
  461.     </gd:when>
  462.     <gd:where valueString='Dolores Park with Kim'></gd:where>
  463.   </entry>
  464.   <entry>
  465.     <id>
  466.     http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos</id>
  467.     <published>2007-03-20T21:28:37.000Z</published>
  468.     <updated>2007-03-20T21:28:37.000Z</updated>
  469.     <category scheme='http://schemas.google.com/g/2005#kind'
  470.     term='http://schemas.google.com/g/2005#event'></category>
  471.     <title type='text'>Team meeting</title>
  472.     <content type='text'></content>
  473.     <link rel='alternate' type='text/html'
  474.     href='http://www.google.com/calendar/event?eid=dXZzcWhnN2tsbmFlNDB2NTB2aWhyMXB2b3NfMjAwNzAzMjNUMTYwMDAwWiBnZGF0YS5vcHMuZGVtb0Bt'
  475.     title='alternate'></link>
  476.     <link rel='self' type='application/atom+xml'
  477.     href='http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos'>
  478.     </link>
  479.     <link rel='edit' type='application/atom+xml'
  480.     href='http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos/63310109317'>
  481.     </link>
  482.     <author>
  483.       <name>GData Ops Demo</name>
  484.       <email>gdata.ops.demo@gmail.com</email>
  485.     </author>
  486.     <gd:recurrence>DTSTART;TZID=America/Los_Angeles:20070323T090000
  487.     DTEND;TZID=America/Los_Angeles:20070323T100000
  488.     RRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20070817T160000Z;WKST=SU
  489.     BEGIN:VTIMEZONE TZID:America/Los_Angeles
  490.     X-LIC-LOCATION:America/Los_Angeles BEGIN:STANDARD
  491.     TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST
  492.     DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
  493.     END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700
  494.     TZNAME:PDT DTSTART:19700405T020000
  495.     RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT
  496.     END:VTIMEZONE</gd:recurrence>
  497.     <gCal:sendEventNotifications value='true'>
  498.     </gCal:sendEventNotifications>
  499.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  500.     </gd:eventStatus>
  501.     <gd:visibility value='http://schemas.google.com/g/2005#event.public'>
  502.     </gd:visibility>
  503.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  504.     </gd:transparency>
  505.     <gd:reminder minutes='10'></gd:reminder>
  506.     <gd:where valueString=''></gd:where>
  507.   </entry>
  508.   <entry>
  509.     <id>
  510.     http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo</id>
  511.     <published>2007-03-20T21:25:46.000Z</published>
  512.     <updated>2007-03-20T21:25:46.000Z</updated>
  513.     <category scheme='http://schemas.google.com/g/2005#kind'
  514.     term='http://schemas.google.com/g/2005#event'></category>
  515.     <title type='text'>Movie with Kim and danah</title>
  516.     <content type='text'></content>
  517.     <link rel='alternate' type='text/html'
  518.     href='http://www.google.com/calendar/event?eid=c3Q0dms5a2lmZnM2cmFzcmwzMmU0YTdhbG8gZ2RhdGEub3BzLmRlbW9AbQ'
  519.     title='alternate'></link>
  520.     <link rel='self' type='application/atom+xml'
  521.     href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo'>
  522.     </link>
  523.     <link rel='edit' type='application/atom+xml'
  524.     href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo/63310109146'>
  525.     </link>
  526.     <author>
  527.       <name>GData Ops Demo</name>
  528.       <email>gdata.ops.demo@gmail.com</email>
  529.     </author>
  530.     <gCal:sendEventNotifications value='false'>
  531.     </gCal:sendEventNotifications>
  532.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  533.     </gd:eventStatus>
  534.     <gd:comments>
  535.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo/comments'>
  536.       </gd:feedLink>
  537.     </gd:comments>
  538.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  539.     </gd:visibility>
  540.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  541.     </gd:transparency>
  542.     <gd:when startTime='2007-03-24T20:00:00.000-07:00'
  543.     endTime='2007-03-24T21:00:00.000-07:00'>
  544.       <gd:reminder minutes='10'></gd:reminder>
  545.     </gd:when>
  546.     <gd:where></gd:where>
  547.   </entry>
  548.   <entry>
  549.     <id>
  550.     http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo</id>
  551.     <published>2007-03-20T21:24:43.000Z</published>
  552.     <updated>2007-03-20T21:25:08.000Z</updated>
  553.     <category scheme='http://schemas.google.com/g/2005#kind'
  554.     term='http://schemas.google.com/g/2005#event'></category>
  555.     <title type='text'>Dinner with Kim and Sarah</title>
  556.     <content type='text'></content>
  557.     <link rel='alternate' type='text/html'
  558.     href='http://www.google.com/calendar/event?eid=b2ZsMWU0NXVidHNvaDZndHUxMjdjbHMyb28gZ2RhdGEub3BzLmRlbW9AbQ'
  559.     title='alternate'></link>
  560.     <link rel='self' type='application/atom+xml'
  561.     href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo'>
  562.     </link>
  563.     <link rel='edit' type='application/atom+xml'
  564.     href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo/63310109108'>
  565.     </link>
  566.     <author>
  567.       <name>GData Ops Demo</name>
  568.       <email>gdata.ops.demo@gmail.com</email>
  569.     </author>
  570.     <gCal:sendEventNotifications value='false'>
  571.     </gCal:sendEventNotifications>
  572.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  573.     </gd:eventStatus>
  574.     <gd:comments>
  575.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo/comments'>
  576.       </gd:feedLink>
  577.     </gd:comments>
  578.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  579.     </gd:visibility>
  580.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  581.     </gd:transparency>
  582.     <gd:when startTime='2007-03-20T19:00:00.000-07:00'
  583.     endTime='2007-03-20T21:30:00.000-07:00'>
  584.       <gd:reminder minutes='10'></gd:reminder>
  585.     </gd:when>
  586.     <gd:where></gd:where>
  587.   </entry>
  588.   <entry>
  589.     <id>
  590.     http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g</id>
  591.     <published>2007-03-20T21:24:19.000Z</published>
  592.     <updated>2007-03-20T21:25:05.000Z</updated>
  593.     <category scheme='http://schemas.google.com/g/2005#kind'
  594.     term='http://schemas.google.com/g/2005#event'></category>
  595.     <title type='text'>Dinner with Jane and John</title>
  596.     <content type='text'></content>
  597.     <link rel='alternate' type='text/html'
  598.     href='http://www.google.com/calendar/event?eid=YjY5czJhdmZpMmpvaWdzY2xlY3ZqbGM5MWcgZ2RhdGEub3BzLmRlbW9AbQ'
  599.     title='alternate'></link>
  600.     <link rel='self' type='application/atom+xml'
  601.     href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g'>
  602.     </link>
  603.     <link rel='edit' type='application/atom+xml'
  604.     href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g/63310109105'>
  605.     </link>
  606.     <author>
  607.       <name>GData Ops Demo</name>
  608.       <email>gdata.ops.demo@gmail.com</email>
  609.     </author>
  610.     <gCal:sendEventNotifications value='false'>
  611.     </gCal:sendEventNotifications>
  612.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  613.     </gd:eventStatus>
  614.     <gd:comments>
  615.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g/comments'>
  616.       </gd:feedLink>
  617.     </gd:comments>
  618.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  619.     </gd:visibility>
  620.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  621.     </gd:transparency>
  622.     <gd:when startTime='2007-03-22T17:00:00.000-07:00'
  623.     endTime='2007-03-22T19:30:00.000-07:00'>
  624.       <gd:reminder minutes='10'></gd:reminder>
  625.     </gd:when>
  626.     <gd:where></gd:where>
  627.   </entry>
  628.   <entry>
  629.     <id>
  630.     http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc</id>
  631.     <published>2007-03-20T21:24:33.000Z</published>
  632.     <updated>2007-03-20T21:24:33.000Z</updated>
  633.     <category scheme='http://schemas.google.com/g/2005#kind'
  634.     term='http://schemas.google.com/g/2005#event'></category>
  635.     <title type='text'>Tennis with Elizabeth</title>
  636.     <content type='text'></content>
  637.     <link rel='alternate' type='text/html'
  638.     href='http://www.google.com/calendar/event?eid=dTlwNjZra2lvdG44YnFoOWs3ajRyY25qamMgZ2RhdGEub3BzLmRlbW9AbQ'
  639.     title='alternate'></link>
  640.     <link rel='self' type='application/atom+xml'
  641.     href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc'>
  642.     </link>
  643.     <link rel='edit' type='application/atom+xml'
  644.     href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc/63310109073'>
  645.     </link>
  646.     <author>
  647.       <name>GData Ops Demo</name>
  648.       <email>gdata.ops.demo@gmail.com</email>
  649.     </author>
  650.     <gCal:sendEventNotifications value='false'>
  651.     </gCal:sendEventNotifications>
  652.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  653.     </gd:eventStatus>
  654.     <gd:comments>
  655.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc/comments'>
  656.       </gd:feedLink>
  657.     </gd:comments>
  658.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  659.     </gd:visibility>
  660.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  661.     </gd:transparency>
  662.     <gd:when startTime='2007-03-24T10:00:00.000-07:00'
  663.     endTime='2007-03-24T11:00:00.000-07:00'>
  664.       <gd:reminder minutes='10'></gd:reminder>
  665.     </gd:when>
  666.     <gd:where></gd:where>
  667.   </entry>
  668.   <entry>
  669.     <id>
  670.     http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c</id>
  671.     <published>2007-03-20T21:24:00.000Z</published>
  672.     <updated>2007-03-20T21:24:00.000Z</updated>
  673.     <category scheme='http://schemas.google.com/g/2005#kind'
  674.     term='http://schemas.google.com/g/2005#event'></category>
  675.     <title type='text'>Lunch with Jenn</title>
  676.     <content type='text'></content>
  677.     <link rel='alternate' type='text/html'
  678.     href='http://www.google.com/calendar/event?eid=NzZvajJrY2VpZG9iM3M3MDh0dmZudWFxM2MgZ2RhdGEub3BzLmRlbW9AbQ'
  679.     title='alternate'></link>
  680.     <link rel='self' type='application/atom+xml'
  681.     href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c'>
  682.     </link>
  683.     <link rel='edit' type='application/atom+xml'
  684.     href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c/63310109040'>
  685.     </link>
  686.     <author>
  687.       <name>GData Ops Demo</name>
  688.       <email>gdata.ops.demo@gmail.com</email>
  689.     </author>
  690.     <gCal:sendEventNotifications value='false'>
  691.     </gCal:sendEventNotifications>
  692.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  693.     </gd:eventStatus>
  694.     <gd:comments>
  695.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c/comments'>
  696.       </gd:feedLink>
  697.     </gd:comments>
  698.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  699.     </gd:visibility>
  700.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  701.     </gd:transparency>
  702.     <gd:when startTime='2007-03-20T11:30:00.000-07:00'
  703.     endTime='2007-03-20T12:30:00.000-07:00'>
  704.       <gd:reminder minutes='10'></gd:reminder>
  705.     </gd:when>
  706.     <gd:where></gd:where>
  707.   </entry>
  708.   <entry>
  709.     <id>
  710.     http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco</id>
  711.     <published>2007-03-20T07:50:02.000Z</published>
  712.     <updated>2007-03-20T20:39:26.000Z</updated>
  713.     <category scheme='http://schemas.google.com/g/2005#kind'
  714.     term='http://schemas.google.com/g/2005#event'></category>
  715.     <title type='text'>test entry</title>
  716.     <content type='text'>test desc</content>
  717.     <link rel='alternate' type='text/html'
  718.     href='http://www.google.com/calendar/event?eid=NW5wOWVjOG03dW9hdWsxdmVkaDVtaG9kY28gZ2RhdGEub3BzLmRlbW9AbQ'
  719.     title='alternate'></link>
  720.     <link rel='self' type='application/atom+xml'
  721.     href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco'>
  722.     </link>
  723.     <link rel='edit' type='application/atom+xml'
  724.     href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco/63310106366'>
  725.     </link>
  726.     <author>
  727.       <name>GData Ops Demo</name>
  728.       <email>gdata.ops.demo@gmail.com</email>
  729.     </author>
  730.     <gCal:sendEventNotifications value='false'>
  731.     </gCal:sendEventNotifications>
  732.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  733.     </gd:eventStatus>
  734.     <gd:comments>
  735.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco/comments'>
  736.       </gd:feedLink>
  737.     </gd:comments>
  738.     <gd:visibility value='http://schemas.google.com/g/2005#event.private'>
  739.     </gd:visibility>
  740.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  741.     </gd:transparency>
  742.     <gd:who rel='http://schemas.google.com/g/2005#event.attendee'
  743.     valueString='Vivian Li' email='vli@google.com'>
  744.       <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.declined'>
  745.       </gd:attendeeStatus>
  746.     </gd:who>
  747.     <gd:who rel='http://schemas.google.com/g/2005#event.organizer'
  748.     valueString='GData Ops Demo' email='gdata.ops.demo@gmail.com'>
  749.       <gd:attendeeStatus value='http://schemas.google.com/g/2005#event.accepted'>
  750.       </gd:attendeeStatus>
  751.     </gd:who>
  752.     <gd:when startTime='2007-03-21T08:00:00.000-07:00'
  753.     endTime='2007-03-21T09:00:00.000-07:00'>
  754.       <gd:reminder minutes='10'></gd:reminder>
  755.     </gd:when>
  756.     <gd:where valueString='anywhere'></gd:where>
  757.   </entry>
  758.   <entry>
  759.     <id>
  760.     http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg</id>
  761.     <published>2007-02-14T23:23:37.000Z</published>
  762.     <updated>2007-02-14T23:25:30.000Z</updated>
  763.     <category scheme='http://schemas.google.com/g/2005#kind'
  764.     term='http://schemas.google.com/g/2005#event'></category>
  765.     <title type='text'>test</title>
  766.     <content type='text'></content>
  767.     <link rel='alternate' type='text/html'
  768.     href='http://www.google.com/calendar/event?eid=ZnU2c2wwcnFha2YzbzBhMTNvbzFpMWExbWcgZ2RhdGEub3BzLmRlbW9AbQ'
  769.     title='alternate'></link>
  770.     <link rel='self' type='application/atom+xml'
  771.     href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg'>
  772.     </link>
  773.     <link rel='edit' type='application/atom+xml'
  774.     href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg/63307178730'>
  775.     </link>
  776.     <link rel="http://schemas.google.com/gCal/2005/webContent" title="World Cup" href="http://www.google.com/calendar/images/google-holiday.gif" type="image/gif">
  777.       <gCal:webContent width="276" height="120" url="http://www.google.com/logos/worldcup06.gif" />
  778.     </link>
  779.     <author>
  780.       <name>GData Ops Demo</name>
  781.       <email>gdata.ops.demo@gmail.com</email>
  782.     </author>
  783.     <gCal:sendEventNotifications value='false'>
  784.     </gCal:sendEventNotifications>
  785.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  786.     </gd:eventStatus>
  787.     <gd:comments>
  788.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg/comments'>
  789.       </gd:feedLink>
  790.     </gd:comments>
  791.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  792.     </gd:visibility>
  793.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  794.     </gd:transparency>
  795.     <gd:when startTime='2007-02-15T08:30:00.000-08:00'
  796.     endTime='2007-02-15T09:30:00.000-08:00'>
  797.       <gd:reminder minutes='10'></gd:reminder>
  798.     </gd:when>
  799.     <gd:where></gd:where>
  800.   </entry>
  801.   <entry>
  802.     <id>
  803.     http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc</id>
  804.     <published>2007-07-16T22:13:28.000Z</published>
  805.     <updated>2007-07-16T22:13:29.000Z</updated>
  806.     <category scheme='http://schemas.google.com/g/2005#kind'
  807.     term='http://schemas.google.com/g/2005#event' />
  808.     <title type='text'></title>
  809.     <content type='text' />
  810.     <link rel='alternate' type='text/html'
  811.     href='http://www.google.com/calendar/event?eid=aDdhMGhhYTRkYThzaWwzcnIxOWlhNmx1dmMgZ2RhdGEub3BzLmRlbW9AbQ'
  812.     title='alternate' />
  813.     <link rel='http://schemas.google.com/gCal/2005/webContent'
  814.     type='application/x-google-gadgets+xml'
  815.     href='http://gdata.ops.demo.googlepages.com/birthdayicon.gif'
  816.     title='Date and Time Gadget'>
  817.       <gCal:webContent width='300' height='136'
  818.       url='http://google.com/ig/modules/datetime.xml'>
  819.         <gCal:webContentGadgetPref name='color' value='green' />
  820.       </gCal:webContent>
  821.     </link>
  822.     <link rel='self' type='application/atom+xml'
  823.     href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc' />
  824.     <link rel='edit' type='application/atom+xml'
  825.     href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc/63320307209' />
  826.     <author>
  827.       <name>GData Ops Demo</name>
  828.       <email>gdata.ops.demo@gmail.com</email>
  829.     </author>
  830.     <gd:comments>
  831.       <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc/comments' />
  832.     </gd:comments>
  833.     <gCal:sendEventNotifications value='false'>
  834.     </gCal:sendEventNotifications>
  835.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed' />
  836.     <gd:visibility value='http://schemas.google.com/g/2005#event.default' />
  837.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque' />
  838.     <gd:when startTime='2007-03-14' endTime='2007-03-15' />
  839.     <gd:where />
  840.   </entry>
  841. </feed>
  842. """
  843.  
  844. CALENDAR_BATCH_REQUEST = """<?xml version='1.0' encoding='utf-8'?>
  845. <feed xmlns='http://www.w3.org/2005/Atom' 
  846.       xmlns:batch='http://schemas.google.com/gdata/batch'
  847.       xmlns:gCal='http://schemas.google.com/gCal/2005'>
  848.   <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  849.   <entry>
  850.     <batch:id>1</batch:id>
  851.     <batch:operation type='insert' />
  852.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  853.     <title type='text'>Event inserted via batch</title>
  854.   </entry>
  855.   <entry>
  856.     <batch:id>2</batch:id>
  857.     <batch:operation type='query' />
  858.     <id>http://www.google.com/calendar/feeds/default/private/full/glcs0kv2qqa0gf52qi1jo018gc</id>
  859.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  860.     <title type='text'>Event queried via batch</title>
  861.   </entry>
  862.   <entry>
  863.     <batch:id>3</batch:id>
  864.     <batch:operation type='update' />
  865.     <id>http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs</id>
  866.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  867.     <title type='text'>Event updated via batch</title>
  868.     <link rel='alternate' type='text/html' 
  869.         href='http://www.google.com/calendar/event?eid=dWptMGdvNWR0bmdka3I2dTkxZGNxdmowcXMgaGFyaXNodi50ZXN0QG0' title='alternate' />
  870.     <link rel='self' type='application/atom+xml' 
  871.         href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs' />
  872.     <link rel='edit' type='application/atom+xml' 
  873.         href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs/63326098791' />
  874.   </entry>
  875.   <entry>
  876.     <batch:id>4</batch:id>
  877.     <batch:operation type='delete' />
  878.     <id>http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc</id>
  879.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  880.     <title type='text'>Event deleted via batch</title>
  881.     <link rel='alternate' type='text/html' 
  882.         href='http://www.google.com/calendar/event?eid=ZDhxYmc5ZWdrMW42bGhzZ3Exc2picWZmcWMgaGFyaXNodi50ZXN0QG0' title='alternate' />
  883.     <link rel='self' type='application/atom+xml' 
  884.         href='http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc' />
  885.     <link rel='edit' type='application/atom+xml' 
  886.         href='http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc/63326018324' />
  887.   </entry>
  888. </feed>
  889. """
  890.  
  891. CALENDAR_BATCH_RESPONSE = """<?xml version='1.0' encoding='UTF-8'?>
  892. <feed xmlns='http://www.w3.org/2005/Atom' 
  893.       xmlns:batch='http://schemas.google.com/gdata/batch'
  894.       xmlns:gCal='http://schemas.google.com/gCal/2005'>
  895.   <id>http://www.google.com/calendar/feeds/default/private/full</id>
  896.   <updated>2007-09-21T23:01:00.380Z</updated>
  897.   <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category>
  898.   <title type='text'>Batch Feed</title>
  899.   <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
  900.       href='http://www.google.com/calendar/feeds/default/private/full' />
  901.   <link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
  902.       href='http://www.google.com/calendar/feeds/default/private/full' />
  903.   <link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' 
  904.       href='http://www.google.com/calendar/feeds/default/private/full/batch' />
  905.   <entry>
  906.     <batch:id>1</batch:id>
  907.     <batch:status code='201' reason='Created' />
  908.     <batch:operation type='insert' />
  909.     <id>http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek</id>
  910.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  911.     <title type='text'>Event inserted via batch</title>
  912.     <link rel='alternate' type='text/html' 
  913.         href='http://www.google.com/calendar/event?eid=bjl1Zzc4Z2Q5dHY1M3BwbjRoZGp2azY4ZWsgaGFyaXNodi50ZXN0QG0' title='alternate' />
  914.     <link rel='self' type='application/atom+xml' 
  915.         href='http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek' />
  916.     <link rel='edit' type='application/atom+xml' 
  917.       href='http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek/63326098860' />
  918.   </entry>
  919.   <entry>
  920.     <batch:id>2</batch:id>
  921.     <batch:status code='200' reason='Success' />
  922.     <batch:operation type='query' />
  923.     <id>http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc</id>
  924.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  925.     <title type='text'>Event queried via batch</title>
  926.     <link rel='alternate' type='text/html' 
  927.         href='http://www.google.com/calendar/event?eid=Z2xzYzBrdjJhcWEwZmY1MnFpMWpvMDE4Z2MgaGFyaXNodi50ZXN0QG0' title='alternate' />
  928.     <link rel='self' type='application/atom+xml' 
  929.         href='http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc' />
  930.     <link rel='edit' type='application/atom+xml' 
  931.         href='http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc/63326098791' />
  932.   </entry>
  933.   <entry xmlns:gCal='http://schemas.google.com/gCal/2005'>
  934.     <batch:id>3</batch:id>
  935.     <batch:status code='200' reason='Success' />
  936.     <batch:operation type='update' />
  937.     <id>http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs</id>
  938.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  939.     <title type='text'>Event updated via batch</title>
  940.     <link rel='alternate' type='text/html' 
  941.         href='http://www.google.com/calendar/event?eid=dWptMGdvNWR0bmdka3I2dTkxZGNxdmowcXMgaGFyaXNodi50ZXN0QG0' title='alternate' />
  942.     <link rel='self' type='application/atom+xml' 
  943.         href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs' />
  944.     <link rel='edit' type='application/atom+xml' 
  945.         href='http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs/63326098860' />
  946.     <batch:id>3</batch:id>
  947.     <batch:status code='200' reason='Success' />
  948.     <batch:operation type='update' />
  949.   </entry>
  950.   <entry>
  951.     <batch:id>4</batch:id>
  952.     <batch:status code='200' reason='Success' />
  953.     <batch:operation type='delete' />
  954.     <id>http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc</id>
  955.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event' />
  956.     <title type='text'>Event deleted via batch</title>
  957.     <content type='text'>Deleted</content>
  958.   </entry>
  959. </feed>
  960. """
  961.  
  962. GBASE_ATTRIBUTE_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  963.     <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0'>
  964.       <id>http://www.google.com/base/feeds/attributes</id>
  965.       <updated>2006-11-01T20:35:59.578Z</updated>
  966.       <category scheme='http://base.google.com/categories/itemtypes' term='online jobs'></category>
  967.       <category scheme='http://base.google.com/categories/itemtypes' term='jobs'></category>
  968.       <title type='text'>Attribute histogram for query: [item type:jobs]</title>
  969.       <link rel='alternate' type='text/html' href='http://base.google.com'></link>
  970.       <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/base/feeds
  971. /attributes'></link>
  972.       <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/-/jobs'></link>
  973.       <generator version='1.0' uri='http://base.google.com'>GoogleBase</generator>
  974.       <openSearch:totalResults>16</openSearch:totalResults>
  975.       <openSearch:startIndex>1</openSearch:startIndex>
  976.       <openSearch:itemsPerPage>16</openSearch:itemsPerPage>
  977.       <entry>
  978.         <id>http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D</id>
  979.         <updated>2006-11-01T20:36:00.100Z</updated>
  980.         <title type='text'>job industry(text)</title>
  981.         <content type='text'>Attribute"job industry" of type text.
  982.         </content>
  983.         <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/job+industry%28text
  984. %29N%5Bitem+type%3Ajobs%5D'></link>
  985.         <gm:attribute name='job industry' type='text' count='4416629'>
  986.           <gm:value count='380772'>it internet</gm:value>
  987.           <gm:value count='261565'>healthcare</gm:value>
  988.           <gm:value count='142018'>information technology</gm:value>
  989.           <gm:value count='124622'>accounting</gm:value>
  990.           <gm:value count='111311'>clerical and administrative</gm:value>
  991.           <gm:value count='82928'>other</gm:value>
  992.           <gm:value count='77620'>sales and sales management</gm:value>
  993.           <gm:value count='68764'>information systems</gm:value>
  994.           <gm:value count='65859'>engineering and architecture</gm:value>
  995.           <gm:value count='64757'>sales</gm:value>
  996.         </gm:attribute>
  997.       </entry>
  998.     </feed>
  999. """
  1000.  
  1001.  
  1002. GBASE_ATTRIBUTE_ENTRY = """<?xml version='1.0' encoding='UTF-8'?>
  1003.  <entry xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0'>
  1004.         <id>http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D</id>
  1005.         <updated>2006-11-01T20:36:00.100Z</updated>
  1006.         <title type='text'>job industry(text)</title>
  1007.         <content type='text'>Attribute"job industry" of type text.
  1008.         </content>
  1009.         <link rel='self' type='application/atom+xml' href='http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D'></link>
  1010.         <gm:attribute name='job industry' type='text' count='4416629'>
  1011.           <gm:value count='380772'>it internet</gm:value>
  1012.           <gm:value count='261565'>healthcare</gm:value>
  1013.           <gm:value count='142018'>information technology</gm:value>
  1014.           <gm:value count='124622'>accounting</gm:value>
  1015.           <gm:value count='111311'>clerical and administrative</gm:value>
  1016.           <gm:value count='82928'>other</gm:value>
  1017.           <gm:value count='77620'>sales and sales management</gm:value>
  1018.           <gm:value count='68764'>information systems</gm:value>
  1019.           <gm:value count='65859'>engineering and architecture</gm:value>
  1020.           <gm:value count='64757'>sales</gm:value>
  1021.         </gm:attribute>
  1022.       </entry>
  1023. """ 
  1024.  
  1025. GBASE_LOCALES_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  1026. <feed xmlns='http://www.w3.org/2005/Atom'
  1027.       xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  1028.       xmlns:gm='http://base.google.com/ns-metadata/1.0'>
  1029.          <id> http://www.google.com/base/feeds/locales/</id>
  1030.   <updated>2006-06-13T18:11:40.120Z</updated>
  1031.   <title type="text">Locales</title> 
  1032.   <link rel="alternate" type="text/html" href="http://base.google.com"/>
  1033.   <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"
  1034.  
  1035.        href="http://www.google.com/base/feeds/locales/"/>
  1036.   <link rel="self" type="application/atom+xml" href="http://www.google.com/base/feeds/locales/"/>
  1037.          <author>
  1038.     <name>Google Inc.</name>
  1039.     <email>base@google.com</email>
  1040.   </author>
  1041.   <generator version="1.0" uri="http://base.google.com">GoogleBase</generator>
  1042.   <openSearch:totalResults>3</openSearch:totalResults>
  1043.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  1044.  
  1045. <entry>
  1046.   <id>http://www.google.com/base/feeds/locales/en_US</id>
  1047.   <updated>2006-03-27T22:27:36.658Z</updated>
  1048.   <category scheme="http://base.google.com/categories/locales" term="en_US"/>
  1049.  
  1050.   <title type="text">en_US</title>
  1051.   <content type="text">en_US</content>
  1052.   <link rel="self" type="application/atom+xml" 
  1053.      href="http://www.google.com/base/feeds/locales/en_US"></link>
  1054.  
  1055.   <link rel="related" type="application/atom+xml" 
  1056.      href="http://www.google.com/base/feeds/itemtypes/en_US" title="Item types in en_US"/>
  1057. </entry>
  1058. <entry>
  1059.          <id>http://www.google.com/base/feeds/locales/en_GB</id>
  1060.   <updated>2006-06-13T18:14:18.601Z</updated>
  1061.   <category scheme="http://base.google.com/categories/locales" term="en_GB"/>
  1062.   <title type="text">en_GB</title>
  1063.   <content type="text">en_GB</content>
  1064.   <link rel="related" type="application/atom+xml" 
  1065.      href="http://www.google.com/base/feeds/itemtypes/en_GB" title="Item types in en_GB"/>
  1066.   <link rel="self" type="application/atom+xml" 
  1067.      href="http://www.google.com/base/feeds/locales/en_GB"/>
  1068. </entry>
  1069. <entry>
  1070.   <id>http://www.google.com/base/feeds/locales/de_DE</id>
  1071.   <updated>2006-06-13T18:14:18.601Z</updated>
  1072.   <category scheme="http://base.google.com/categories/locales" term="de_DE"/>
  1073.   <title type="text">de_DE</title>
  1074.   <content type="text">de_DE</content>
  1075.   <link rel="related" type="application/atom+xml" 
  1076.      href="http://www.google.com/base/feeds/itemtypes/de_DE" title="Item types in de_DE"/>
  1077.   <link rel="self" type="application/atom+xml" 
  1078.      href="http://www.google.com/base/feeds/locales/de_DE"/>
  1079. </entry>
  1080. </feed>"""
  1081.  
  1082. GBASE_STRING_ENCODING_ENTRY = """<?xml version='1.0' encoding='UTF-8'?>
  1083. <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gm='http://base.google.com/ns-metadata/1.0' 
  1084.        xmlns:g='http://base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/batch'>
  1085.   <id>http://www.google.com/base/feeds/snippets/17495780256183230088</id>
  1086.   <published>2007-12-09T03:13:07.000Z</published>
  1087.   <updated>2008-01-07T03:26:46.000Z</updated>
  1088.   <category scheme='http://base.google.com/categories/itemtypes' term='Products'/>
  1089.   <title type='text'>Digital Camera Cord Fits SONY Cybershot DSC-R1 S40</title>
  1090.   <content type='html'>SONY \xC2\xB7 Cybershot Digital Camera Usb Cable DESCRIPTION 
  1091.       This is a 2.5 USB 2.0 A to Mini B (5 Pin) high quality digital camera 
  1092.       cable used for connecting your Sony Digital Cameras and Camcoders. Backward 
  1093.       Compatible with USB 2.0, 1.0 and 1.1. Fully  ...</content>
  1094.   <link rel='alternate' type='text/html' 
  1095.         href='http://adfarm.mediaplex.com/ad/ck/711-5256-8196-2?loc=http%3A%2F%2Fcgi.ebay.com%2FDigital-Camera-Cord-Fits-SONY-Cybershot-DSC-R1-S40_W0QQitemZ270195049057QQcmdZViewItem'/>
  1096.   <link rel='self' type='application/atom+xml' 
  1097.         href='http://www.google.com/base/feeds/snippets/17495780256183230088'/>
  1098.   <author>
  1099.     <name>eBay</name>
  1100.   </author>
  1101.   <g:item_type type='text'>Products</g:item_type>
  1102.   <g:item_language type='text'>EN</g:item_language>
  1103.   <g:target_country type='text'>US</g:target_country>
  1104.   <g:price type='floatUnit'>0.99 usd</g:price>
  1105.   <g:image_link type='url'>http://thumbs.ebaystatic.com/pict/270195049057_1.jpg</g:image_link>
  1106.   <g:category type='text'>Cameras & Photo>Digital Camera Accessories>Cables</g:category>
  1107.   <g:category type='text'>Cords & Connectors>USB Cables>For Other Brands</g:category>
  1108.   <g:customer_id type='int'>11729</g:customer_id>
  1109.   <g:id type='text'>270195049057</g:id>
  1110.   <g:expiration_date type='dateTime'>2008-02-06T03:26:46Z</g:expiration_date>
  1111. </entry>"""
  1112.  
  1113.  
  1114. RECURRENCE_EXCEPTION_ENTRY = """<entry xmlns='http://www.w3.org/2005/Atom'
  1115. xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  1116. xmlns:gd='http://schemas.google.com/g/2005'
  1117. xmlns:gCal='http://schemas.google.com/gCal/2005'>
  1118.     <id>
  1119.     http://www.google.com/calendar/feeds/default/private/composite/i7lgfj69mjqjgnodklif3vbm7g</id>
  1120.     <published>2007-04-05T21:51:49.000Z</published>
  1121.     <updated>2007-04-05T21:51:49.000Z</updated>
  1122.     <category scheme='http://schemas.google.com/g/2005#kind'
  1123.     term='http://schemas.google.com/g/2005#event'></category>
  1124.     <title type='text'>testDavid</title>
  1125.     <content type='text'></content>
  1126.     <link rel='alternate' type='text/html'
  1127.     href='http://www.google.com/calendar/event?eid=aTdsZ2ZqNjltanFqZ25vZGtsaWYzdmJtN2dfMjAwNzA0MDNUMTgwMDAwWiBnZGF0YS5vcHMudGVzdEBt'
  1128.     title='alternate'></link>
  1129.     <link rel='self' type='application/atom+xml'
  1130.     href='http://www.google.com/calendar/feeds/default/private/composite/i7lgfj69mjqjgnodklif3vbm7g'>
  1131.     </link>
  1132.     <author>
  1133.       <name>gdata ops</name>
  1134.       <email>gdata.ops.test@gmail.com</email>
  1135.     </author>
  1136.     <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  1137.     </gd:visibility>
  1138.     <gCal:sendEventNotifications value='true'>
  1139.     </gCal:sendEventNotifications>
  1140.     <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  1141.     </gd:transparency>
  1142.     <gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'>
  1143.     </gd:eventStatus>
  1144.     <gd:recurrence>DTSTART;TZID=America/Anchorage:20070403T100000
  1145.     DTEND;TZID=America/Anchorage:20070403T110000
  1146.     RRULE:FREQ=DAILY;UNTIL=20070408T180000Z;WKST=SU
  1147.     EXDATE;TZID=America/Anchorage:20070407T100000
  1148.     EXDATE;TZID=America/Anchorage:20070405T100000
  1149.     EXDATE;TZID=America/Anchorage:20070404T100000 BEGIN:VTIMEZONE
  1150.     TZID:America/Anchorage X-LIC-LOCATION:America/Anchorage
  1151.     BEGIN:STANDARD TZOFFSETFROM:-0800 TZOFFSETTO:-0900 TZNAME:AKST
  1152.     DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
  1153.     END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0900 TZOFFSETTO:-0800
  1154.     TZNAME:AKDT DTSTART:19700405T020000
  1155.     RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT
  1156.     END:VTIMEZONE</gd:recurrence>
  1157.     <gd:where valueString=''></gd:where>
  1158.     <gd:reminder minutes='10'></gd:reminder>
  1159.     <gd:recurrenceException specialized='true'>
  1160.       <gd:entryLink>
  1161.         <entry>
  1162.           <id>i7lgfj69mjqjgnodklif3vbm7g_20070407T180000Z</id>
  1163.           <published>2007-04-05T21:51:49.000Z</published>
  1164.           <updated>2007-04-05T21:52:58.000Z</updated>
  1165.           <category scheme='http://schemas.google.com/g/2005#kind'
  1166.           term='http://schemas.google.com/g/2005#event'></category>
  1167.           <title type='text'>testDavid</title>
  1168.           <content type='text'></content>
  1169.           <link rel='alternate' type='text/html'
  1170.           href='http://www.google.com/calendar/event?eid=aTdsZ2ZqNjltanFqZ25vZGtsaWYzdmJtN2dfMjAwNzA0MDdUMTgwMDAwWiBnZGF0YS5vcHMudGVzdEBt'
  1171.           title='alternate'></link>
  1172.           <author>
  1173.             <name>gdata ops</name>
  1174.             <email>gdata.ops.test@gmail.com</email>
  1175.           </author>
  1176.           <gd:visibility value='http://schemas.google.com/g/2005#event.default'>
  1177.           </gd:visibility>
  1178.           <gd:originalEvent id='i7lgfj69mjqjgnodklif3vbm7g'
  1179.           href='http://www.google.com/calendar/feeds/default/private/composite/i7lgfj69mjqjgnodklif3vbm7g'>
  1180.  
  1181.             <gd:when startTime='2007-04-07T13:00:00.000-05:00'>
  1182.             </gd:when>
  1183.           </gd:originalEvent>
  1184.           <gCal:sendEventNotifications value='false'>
  1185.           </gCal:sendEventNotifications>
  1186.           <gd:transparency value='http://schemas.google.com/g/2005#event.opaque'>
  1187.           </gd:transparency>
  1188.           <gd:eventStatus value='http://schemas.google.com/g/2005#event.canceled'>
  1189.           </gd:eventStatus>
  1190.           <gd:comments>
  1191.             <gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/i7lgfj69mjqjgnodklif3vbm7g_20070407T180000Z/comments'>
  1192.  
  1193.               <feed>
  1194.                 <updated>2007-04-05T21:54:09.285Z</updated>
  1195.                 <category scheme='http://schemas.google.com/g/2005#kind'
  1196.                 term='http://schemas.google.com/g/2005#message'>
  1197.                 </category>
  1198.                 <title type='text'>Comments for: testDavid</title>
  1199.                 <link rel='alternate' type='text/html'
  1200.                 href='http://www.google.com/calendar/feeds/default/private/full/i7lgfj69mjqjgnodklif3vbm7g_20070407T180000Z/comments'
  1201.                 title='alternate'></link>
  1202.               </feed>
  1203.             </gd:feedLink>
  1204.           </gd:comments>
  1205.           <gd:when startTime='2007-04-07T13:00:00.000-05:00'
  1206.           endTime='2007-04-07T14:00:00.000-05:00'>
  1207.             <gd:reminder minutes='10'></gd:reminder>
  1208.           </gd:when>
  1209.           <gd:where valueString=''></gd:where>
  1210.         </entry>
  1211.       </gd:entryLink>
  1212.     </gd:recurrenceException>
  1213.   </entry>"""
  1214.  
  1215. NICK_ENTRY = """<?xml version="1.0" encoding="UTF-8"?>
  1216. <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"
  1217.   xmlns:apps="http://schemas.google.com/apps/2006"
  1218.   xmlns:gd="http://schemas.google.com/g/2005">
  1219.   <atom:id>https://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo</atom:id>
  1220.   <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1221.   <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1222.     term='http://schemas.google.com/apps/2006#nickname'/>
  1223.   <atom:title type="text">Foo</atom:title>
  1224.   <atom:link rel="self" type="application/atom+xml"
  1225.     href="https://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo"/>
  1226.   <atom:link rel="edit" type="application/atom+xml"
  1227.     href="https://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo"/>
  1228.   <apps:nickname name="Foo"/>
  1229.   <apps:login userName="TestUser"/>
  1230. </atom:entry>"""
  1231.  
  1232. NICK_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1233. <atom:feed xmlns:atom="http://www.w3.org/2005/Atom"
  1234.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1235.   xmlns:apps="http://schemas.google.com/apps/2006">
  1236.   <atom:id>
  1237.     http://apps-apis.google.com/a/feeds/example.com/nickname/2.0
  1238.   </atom:id>
  1239.   <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1240.   <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1241.     term='http://schemas.google.com/apps/2006#nickname'/>
  1242.   <atom:title type="text">Nicknames for user SusanJones</atom:title>
  1243.   <atom:link rel='http://schemas.google.com/g/2005#feed'
  1244.     type="application/atom+xml"
  1245.     href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0"/>
  1246.   <atom:link rel='http://schemas.google.com/g/2005#post'
  1247.     type="application/atom+xml"
  1248.     href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0"/>
  1249.   <atom:link rel="self" type="application/atom+xml"
  1250.     href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0?username=TestUser"/>
  1251.   <openSearch:startIndex>1</openSearch:startIndex>
  1252.   <openSearch:itemsPerPage>2</openSearch:itemsPerPage>
  1253.   <atom:entry>
  1254.     <atom:id>
  1255.       http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo
  1256.     </atom:id>
  1257.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1258.       term='http://schemas.google.com/apps/2006#nickname'/>
  1259.     <atom:title type="text">Foo</atom:title>
  1260.     <atom:link rel="self" type="application/atom+xml"
  1261.       href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo"/>
  1262.     <atom:link rel="edit" type="application/atom+xml"
  1263.       href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo"/>
  1264.     <apps:nickname name="Foo"/>
  1265.     <apps:login userName="TestUser"/>
  1266.   </atom:entry>
  1267.   <atom:entry>
  1268.     <atom:id>
  1269.       http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/suse
  1270.     </atom:id>
  1271.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1272.       term='http://schemas.google.com/apps/2006#nickname'/>
  1273.     <atom:title type="text">suse</atom:title>
  1274.     <atom:link rel="self" type="application/atom+xml"
  1275.       href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Bar"/>
  1276.     <atom:link rel="edit" type="application/atom+xml"
  1277.       href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Bar"/>
  1278.     <apps:nickname name="Bar"/>
  1279.     <apps:login userName="TestUser"/>
  1280.   </atom:entry>
  1281. </atom:feed>"""
  1282.  
  1283. USER_ENTRY = """<?xml version="1.0" encoding="UTF-8"?>
  1284. <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"
  1285.             xmlns:apps="http://schemas.google.com/apps/2006"
  1286.             xmlns:gd="http://schemas.google.com/g/2005">
  1287.   <atom:id>https://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser</atom:id>
  1288.   <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1289.   <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1290.     term='http://schemas.google.com/apps/2006#user'/>
  1291.   <atom:title type="text">TestUser</atom:title>
  1292.   <atom:link rel="self" type="application/atom+xml"
  1293.     href="https://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser"/>
  1294.   <atom:link rel="edit" type="application/atom+xml"
  1295.     href="https://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser"/>
  1296.   <apps:login userName="TestUser" password="password" suspended="false"
  1297.     ipWhitelisted='false' hashFunctionName="SHA-1"/>
  1298.   <apps:name familyName="Test" givenName="User"/>
  1299.   <apps:quota limit="1024"/>
  1300.   <gd:feedLink rel='http://schemas.google.com/apps/2006#user.nicknames'
  1301.     href="https://apps-apis.google.com/a/feeds/example.com/nickname/2.0?username=Test-3121"/>
  1302.   <gd:feedLink rel='http://schemas.google.com/apps/2006#user.emailLists'
  1303.     href="https://apps-apis.google.com/a/feeds/example.com/emailList/2.0?recipient=testlist@example.com"/>
  1304. </atom:entry>"""
  1305.  
  1306. USER_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1307. <atom:feed xmlns:atom="http://www.w3.org/2005/Atom" 
  1308.   xmlns:apps="http://schemas.google.com/apps/2006"
  1309.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1310.   xmlns:gd="http://schemas.google.com/g/2005">
  1311.     <atom:id>
  1312.         http://apps-apis.google.com/a/feeds/example.com/user/2.0
  1313.     </atom:id>
  1314.     <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1315.     <atom:category scheme='http://schemas.google.com/g/2005#kind' 
  1316.         term='http://schemas.google.com/apps/2006#user'/>
  1317.     <atom:title type="text">Users</atom:title>
  1318.     <atom:link rel="next" type="application/atom+xml" 
  1319.         href="http://apps-apis.google.com/a/feeds/example.com/user/2.0?startUsername=john"/>
  1320.     <atom:link rel='http://schemas.google.com/g/2005#feed' 
  1321.         type="application/atom+xml" 
  1322.         href="http://apps-apis.google.com/a/feeds/example.com/user/2.0"/>
  1323.     <atom:link rel='http://schemas.google.com/g/2005#post'
  1324.         type="application/atom+xml"
  1325.         href="http://apps-apis.google.com/a/feeds/example.com/user/2.0"/>
  1326.     <atom:link rel="self" type="application/atom+xml" 
  1327.         href="http://apps-apis.google.com/a/feeds/example.com/user/2.0"/>
  1328.     <openSearch:startIndex>1</openSearch:startIndex>
  1329.     <atom:entry>
  1330.         <atom:id>
  1331.             http://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser
  1332.         </atom:id>
  1333.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1334.             term='http://schemas.google.com/apps/2006#user'/>
  1335.         <atom:title type="text">TestUser</atom:title>
  1336.         <atom:link rel="self" type="application/atom+xml" 
  1337.             href="http://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser"/>
  1338.         <atom:link rel="edit" type="application/atom+xml"
  1339.             href="http://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser"/>
  1340.         <gd:who rel='http://schemas.google.com/apps/2006#user.recipient' 
  1341.             email="TestUser@example.com"/>
  1342.         <apps:login userName="TestUser" suspended="false"/>
  1343.         <apps:quota limit="2048"/>
  1344.         <apps:name familyName="Test" givenName="User"/>
  1345.         <gd:feedLink rel='http://schemas.google.com/apps/2006#user.nicknames'
  1346.             href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0?username=TestUser"/>
  1347.         <gd:feedLink rel='http://schemas.google.com/apps/2006#user.emailLists'
  1348.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0?recipient=TestUser@example.com"/>
  1349.     </atom:entry>
  1350.     <atom:entry>
  1351.         <atom:id>
  1352.             http://apps-apis.google.com/a/feeds/example.com/user/2.0/JohnSmith
  1353.         </atom:id>
  1354.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1355.             term='http://schemas.google.com/apps/2006#user'/>
  1356.         <atom:title type="text">JohnSmith</atom:title>
  1357.         <atom:link rel="self" type="application/atom+xml" 
  1358.             href="http://apps-apis.google.com/a/feeds/example.com/user/2.0/JohnSmith"/>
  1359.         <atom:link rel="edit" type="application/atom+xml"
  1360.             href="http://apps-apis.google.com/a/feeds/example.com/user/2.0/JohnSmith"/>
  1361.         <gd:who rel='http://schemas.google.com/apps/2006#user.recipient'
  1362.             email="JohnSmith@example.com"/>
  1363.         <apps:login userName="JohnSmith" suspended="false"/>
  1364.         <apps:quota limit="2048"/>
  1365.         <apps:name familyName="Smith" givenName="John"/>
  1366.         <gd:feedLink rel='http://schemas.google.com/apps/2006#user.nicknames'
  1367.             href="http://apps-apis.google.com/a/feeds/example.com/nickname/2.0?username=JohnSmith"/>
  1368.         <gd:feedLink rel='http://schemas.google.com/apps/2006#user.emailLists'
  1369.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0?recipient=JohnSmith@example.com"/>
  1370.     </atom:entry>
  1371. </atom:feed>"""
  1372.  
  1373. EMAIL_LIST_ENTRY = """<?xml version="1.0" encoding="UTF-8"?>
  1374. <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"
  1375.   xmlns:apps="http://schemas.google.com/apps/2006"
  1376.   xmlns:gd="http://schemas.google.com/g/2005">
  1377.     <atom:id>
  1378.       https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist
  1379.     </atom:id>
  1380.     <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1381.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1382.       term='http://schemas.google.com/apps/2006#emailList'/>
  1383.     <atom:title type="text">testlist</atom:title>
  1384.     <atom:link rel="self" type="application/atom+xml" 
  1385.       href="https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist"/>
  1386.     <atom:link rel="edit" type="application/atom+xml" 
  1387.       href="https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist"/>
  1388.     <apps:emailList name="testlist"/>
  1389.     <gd:feedLink rel='http://schemas.google.com/apps/2006#emailList.recipients'
  1390.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist/recipient/"/>
  1391. </atom:entry>"""
  1392.  
  1393. EMAIL_LIST_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1394. <atom:feed xmlns:atom="http://www.w3.org/2005/Atom" 
  1395.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1396.   xmlns:apps="http://schemas.google.com/apps/2006"
  1397.   xmlns:gd="http://schemas.google.com/g/2005">
  1398.     <atom:id>
  1399.         http://apps-apis.google.com/a/feeds/example.com/emailList/2.0
  1400.     </atom:id>
  1401.     <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1402.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1403.         term='http://schemas.google.com/apps/2006#emailList'/>
  1404.     <atom:title type="text">EmailLists</atom:title>
  1405.     <atom:link rel="next" type="application/atom+xml" 
  1406.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0?startEmailListName=john"/>
  1407.     <atom:link rel='http://schemas.google.com/g/2005#feed'
  1408.         type="application/atom+xml" 
  1409.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0"/>
  1410.     <atom:link rel='http://schemas.google.com/g/2005#post' 
  1411.         type="application/atom+xml"
  1412.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0"/>
  1413.     <atom:link rel="self" type="application/atom+xml" 
  1414.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0"/>
  1415.     <openSearch:startIndex>1</openSearch:startIndex>
  1416.     <atom:entry>
  1417.         <atom:id>
  1418.             http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales
  1419.         </atom:id>
  1420.         <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1421.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1422.             term='http://schemas.google.com/apps/2006#emailList'/>
  1423.         <atom:title type="text">us-sales</atom:title>
  1424.         <atom:link rel="self" type="application/atom+xml" 
  1425.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales"/>
  1426.         <atom:link rel="edit" type="application/atom+xml"
  1427.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales"/>
  1428.         <apps:emailList name="us-sales"/>
  1429.         <gd:feedLink rel='http://schemas.google.com/apps/2006#emailList.recipients'
  1430.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/"/>
  1431.     </atom:entry>
  1432.     <atom:entry>
  1433.         <atom:id>
  1434.             http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-eng
  1435.         </atom:id>
  1436.         <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1437.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1438.             term='http://schemas.google.com/apps/2006#emailList'/>
  1439.         <atom:title type="text">us-eng</atom:title>
  1440.         <atom:link rel="self" type="application/atom+xml" 
  1441.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-eng"/>
  1442.         <atom:link rel="edit" type="application/atom+xml"
  1443.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-eng"/>
  1444.         <apps:emailList name="us-eng"/>
  1445.         <gd:feedLink rel='http://schemas.google.com/apps/2006#emailList.recipients'
  1446.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-eng/recipient/"/>
  1447.     </atom:entry>
  1448. </atom:feed>"""
  1449.  
  1450. EMAIL_LIST_RECIPIENT_ENTRY = """<?xml version="1.0" encoding="UTF-8"?>
  1451. <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"
  1452.   xmlns:apps="http://schemas.google.com/apps/2006"
  1453.   xmlns:gd="http://schemas.google.com/g/2005">
  1454.     <atom:id>https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/TestUser%40example.com</atom:id>
  1455.     <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1456.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1457.         term='http://schemas.google.com/apps/2006#emailList.recipient'/>
  1458.     <atom:title type="text">TestUser</atom:title>
  1459.     <atom:link rel="self" type="application/atom+xml" 
  1460.         href="https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/TestUser%40example.com"/>
  1461.     <atom:link rel="edit" type="application/atom+xml" 
  1462.         href="https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/TestUser%40example.com"/>
  1463.     <gd:who email="TestUser@example.com"/>
  1464. </atom:entry>"""
  1465.  
  1466. EMAIL_LIST_RECIPIENT_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1467. <atom:feed xmlns:atom="http://www.w3.org/2005/Atom" 
  1468.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1469.   xmlns:gd="http://schemas.google.com/g/2005">
  1470.     <atom:id>
  1471.         http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient
  1472.     </atom:id>
  1473.     <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1474.     <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1475.         term='http://schemas.google.com/apps/2006#emailList.recipient'/>
  1476.     <atom:title type="text">Recipients for email list us-sales</atom:title>
  1477.     <atom:link rel="next" type="application/atom+xml" 
  1478.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/?startRecipient=terry@example.com"/>
  1479.     <atom:link rel='http://schemas.google.com/g/2005#feed'
  1480.         type="application/atom+xml" 
  1481.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient"/>
  1482.     <atom:link rel='http://schemas.google.com/g/2005#post'
  1483.         type="application/atom+xml"
  1484.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient"/>
  1485.     <atom:link rel="self" type="application/atom+xml" 
  1486.         href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient"/>
  1487.     <openSearch:startIndex>1</openSearch:startIndex>
  1488.     <atom:entry>
  1489.         <atom:id>
  1490.             http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/joe%40example.com
  1491.         </atom:id>
  1492.         <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1493.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1494.             term='http://schemas.google.com/apps/2006#emailList.recipient'/>
  1495.         <atom:title type="text">joe@example.com</atom:title>
  1496.         <atom:link rel="self" type="application/atom+xml" 
  1497.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/joe%40example.com"/>
  1498.         <atom:link rel="edit" type="application/atom+xml"
  1499.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/joe%40example.com"/>
  1500.         <gd:who email="joe@example.com"/>
  1501.     </atom:entry>
  1502.     <atom:entry>
  1503.         <atom:id>
  1504.             http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/susan%40example.com
  1505.         </atom:id>
  1506.         <atom:updated>1970-01-01T00:00:00.000Z</atom:updated>
  1507.         <atom:category scheme='http://schemas.google.com/g/2005#kind'
  1508.             term='http://schemas.google.com/apps/2006#emailList.recipient'/>
  1509.         <atom:title type="text">susan@example.com</atom:title>
  1510.         <atom:link rel="self" type="application/atom+xml" 
  1511.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/susan%40example.com"/>
  1512.         <atom:link rel="edit" type="application/atom+xml"
  1513.             href="http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/susan%40example.com"/>
  1514.         <gd:who email="susan@example.com"/>
  1515.     </atom:entry>
  1516. </atom:feed>"""
  1517.  
  1518. ACL_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  1519.   <feed xmlns='http://www.w3.org/2005/Atom'
  1520.       xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  1521.       xmlns:gAcl='http://schemas.google.com/acl/2007'>
  1522.     <id>http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full</id>
  1523.     <updated>2007-04-21T00:52:04.000Z</updated>
  1524.     <title type='text'>Elizabeth Bennet's access control list</title>
  1525.     <link rel='http://schemas.google.com/acl/2007#controlledObject'
  1526.       type='application/atom+xml'
  1527.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/private/full'>
  1528.     </link>
  1529.     <link rel='http://schemas.google.com/g/2005#feed'
  1530.       type='application/atom+xml'
  1531.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full'>
  1532.     </link>
  1533.     <link rel='http://schemas.google.com/g/2005#post'
  1534.       type='application/atom+xml'
  1535.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full'>
  1536.     </link>
  1537.     <link rel='self' type='application/atom+xml'
  1538.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full'>
  1539.     </link>
  1540.     <generator version='1.0'
  1541.       uri='http://www.google.com/calendar'>Google Calendar</generator>
  1542.     <openSearch:totalResults>2</openSearch:totalResults>
  1543.     <openSearch:startIndex>1</openSearch:startIndex>
  1544.     <entry>
  1545.       <id>http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com</id>
  1546.       <updated>2007-04-21T00:52:04.000Z</updated>
  1547.       <category scheme='http://schemas.google.com/g/2005#kind'
  1548.         term='http://schemas.google.com/acl/2007#accessRule'>
  1549.       </category>
  1550.       <title type='text'>owner</title>
  1551.       <content type='text'></content>
  1552.       <link rel='self' type='application/atom+xml'
  1553.         href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com'>
  1554.       </link>
  1555.       <link rel='edit' type='application/atom+xml'
  1556.         href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com'>
  1557.       </link>
  1558.       <author>
  1559.         <name>Elizabeth Bennet</name>
  1560.         <email>liz@gmail.com</email>
  1561.       </author>
  1562.       <gAcl:scope type='user' value='liz@gmail.com'></gAcl:scope>
  1563.       <gAcl:role value='http://schemas.google.com/gCal/2005#owner'>
  1564.       </gAcl:role>
  1565.     </entry>
  1566.     <entry>
  1567.       <id>http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/default</id>
  1568.       <updated>2007-04-21T00:52:04.000Z</updated>
  1569.       <category scheme='http://schemas.google.com/g/2005#kind'
  1570.         term='http://schemas.google.com/acl/2007#accessRule'>
  1571.       </category>
  1572.       <title type='text'>read</title>
  1573.       <content type='text'></content>
  1574.       <link rel='self' type='application/atom+xml'
  1575.         href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/default'>
  1576.       </link>
  1577.       <link rel='edit' type='application/atom+xml'
  1578.         href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/default'>
  1579.       </link>
  1580.       <author>
  1581.         <name>Elizabeth Bennet</name>
  1582.         <email>liz@gmail.com</email>
  1583.       </author>
  1584.       <gAcl:scope type='default'></gAcl:scope>
  1585.       <gAcl:role value='http://schemas.google.com/gCal/2005#read'>
  1586.       </gAcl:role>
  1587.     </entry>
  1588.   </feed>"""
  1589.  
  1590. ACL_ENTRY = """<?xml version='1.0' encoding='UTF-8'?>
  1591.   <entry xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:gCal='http://schemas.google.com/gCal/2005' xmlns:gAcl='http://schemas.google.com/acl/2007'>
  1592.     <id>http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com</id>
  1593.     <updated>2007-04-21T00:52:04.000Z</updated>
  1594.     <category scheme='http://schemas.google.com/g/2005#kind'
  1595.       term='http://schemas.google.com/acl/2007#accessRule'>
  1596.     </category>
  1597.     <title type='text'>owner</title>
  1598.     <content type='text'></content>
  1599.     <link rel='self' type='application/atom+xml'
  1600.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com'>
  1601.     </link>
  1602.     <link rel='edit' type='application/atom+xml'
  1603.       href='http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com'>
  1604.     </link>
  1605.     <author>
  1606.       <name>Elizabeth Bennet</name>
  1607.       <email>liz@gmail.com</email>
  1608.     </author>
  1609.     <gAcl:scope type='user' value='liz@gmail.com'></gAcl:scope>
  1610.     <gAcl:role value='http://schemas.google.com/gCal/2005#owner'>
  1611.     </gAcl:role>
  1612.   </entry>"""
  1613.  
  1614. DOCUMENT_LIST_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  1615. <ns0:feed xmlns:ns0="http://www.w3.org/2005/Atom"><ns1:totalResults
  1616. xmlns:ns1="http://a9.com/-/spec/opensearchrss/1.0/">2</ns1:totalResults><ns1:startIndex
  1617. xmlns:ns1="http://a9.com/-/spec/opensearchrss/1.0/">1</ns1:startIndex><ns0:entry><ns0:content
  1618. src="http://foo.com/fm?fmcmd=102&key=supercalifragilisticexpeadocious"
  1619. type="text/html"
  1620. /><ns0:author><ns0:name>test.user</ns0:name><ns0:email>test.user@gmail.com</ns0:email></ns0:author><ns0:category
  1621. label="spreadsheet" scheme="http://schemas.google.com/g/2005#kind"
  1622. term="http://schemas.google.com/docs/2007#spreadsheet"
  1623. /><ns0:id>http://docs.google.com/feeds/documents/private/full/spreadsheet%3Asupercalifragilisticexpeadocious</ns0:id><ns0:link
  1624. href="http://foo.com/ccc?key=supercalifragilisticexpeadocious" rel="alternate"
  1625. type="text/html" /><ns0:link
  1626. href="http://foo.com/feeds/worksheets/supercalifragilisticexpeadocious/private/full"
  1627. rel="http://schemas.google.com/spreadsheets/2006#worksheetsfeed"
  1628. type="application/atom+xml" /><ns0:link
  1629. href="http://docs.google.com/feeds/documents/private/full/spreadsheet%3Asupercalifragilisticexpeadocious"
  1630. rel="self" type="application/atom+xml" /><ns0:title type="text">Test Spreadsheet</ns0:title><ns0:updated>2007-07-03T18:03:32.045Z</ns0:updated></ns0:entry><ns0:entry><ns0:content
  1631. src="http://docs.google.com/RawDocContents?action=fetch&docID=gr00vy"
  1632. type="text/html"
  1633. /><ns0:author><ns0:name>test.user</ns0:name><ns0:email>test.user@gmail.com</ns0:email></ns0:author><ns0:category
  1634. label="document" scheme="http://schemas.google.com/g/2005#kind"
  1635. term="http://schemas.google.com/docs/2007#document"
  1636. /><ns0:id>http://docs.google.com/feeds/documents/private/full/document%3Agr00vy</ns0:id><ns0:link
  1637. href="http://foobar.com/Doc?id=gr00vy" rel="alternate" type="text/html"
  1638. /><ns0:link
  1639. href="http://docs.google.com/feeds/documents/private/full/document%3Agr00vy"
  1640. rel="self" type="application/atom+xml" /><ns0:title type="text">Test Document</ns0:title><ns0:updated>2007-07-03T18:02:50.338Z</ns0:updated></ns0:entry><ns0:id>http://docs.google.com/feeds/documents/private/full</ns0:id><ns0:link
  1641. href="http://docs.google.com" rel="alternate" type="text/html" /><ns0:link
  1642. href="http://docs.google.com/feeds/documents/private/full"
  1643. rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"
  1644. /><ns0:link href="http://docs.google.com/feeds/documents/private/full"
  1645. rel="http://schemas.google.com/g/2005#post" type="application/atom+xml"
  1646. /><ns0:link href="http://docs.google.com/feeds/documents/private/full"
  1647. rel="self" type="application/atom+xml" /><ns0:title type="text">Available
  1648. Documents -
  1649. test.user@gmail.com</ns0:title><ns0:updated>2007-07-09T23:07:21.898Z</ns0:updated></ns0:feed>
  1650. """
  1651.  
  1652. DOCUMENT_LIST_ENTRY = """<?xml version='1.0' encoding='UTF-8'?>
  1653. <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom"><ns0:content
  1654. src="http://foo.com/fm?fmcmd=102&key=supercalifragilisticexpealidocious"
  1655. type="text/html"
  1656. /><ns0:author><ns0:name>test.user</ns0:name><ns0:email>test.user@gmail.com</ns0:email></ns0:author><ns0:category
  1657. label="spreadsheet" scheme="http://schemas.google.com/g/2005#kind"
  1658. term="http://schemas.google.com/docs/2007#spreadsheet"
  1659. /><ns0:id>http://docs.google.com/feeds/documents/private/full/spreadsheet%3Asupercalifragilisticexpealidocious</ns0:id><ns0:link
  1660. href="http://foo.com/ccc?key=supercalifragilisticexpealidocious"
  1661. rel="alternate" type="text/html" /><ns0:link
  1662. href="http://foo.com/feeds/worksheets/supercalifragilisticexpealidocious/private/full"
  1663. rel="http://schemas.google.com/spreadsheets/2006#worksheetsfeed"
  1664. type="application/atom+xml" /><ns0:link
  1665. href="http://docs.google.com/feeds/documents/private/full/spreadsheet%3Asupercalifragilisticexpealidocious"
  1666. rel="self" type="application/atom+xml" /><ns0:title type="text">Test Spreadsheet</ns0:title><ns0:updated>2007-07-03T18:03:32.045Z</ns0:updated></ns0:entry>
  1667. """
  1668.  
  1669. BATCH_ENTRY = """<?xml version='1.0' encoding='UTF-8'?>
  1670. <entry xmlns="http://www.w3.org/2005/Atom"
  1671.        xmlns:batch="http://schemas.google.com/gdata/batch" 
  1672.        xmlns:g="http://base.google.com/ns/1.0">
  1673.   <id>http://www.google.com/base/feeds/items/2173859253842813008</id>
  1674.   <published>2006-07-11T14:51:43.560Z</published>
  1675.   <updated>2006-07-11T14:51: 43.560Z</updated>
  1676.   <title type="text">title</title>
  1677.   <content type="html">content</content>
  1678.   <link rel="self" 
  1679.     type="application/atom+xml" 
  1680.     href="http://www.google.com/base/feeds/items/2173859253842813008"/>
  1681.   <link rel="edit" 
  1682.     type="application/atom+xml" 
  1683.     href="http://www.google.com/base/feeds/items/2173859253842813008"/>
  1684.   <g:item_type>recipes</g:item_type>
  1685.   <batch:operation type="insert"/>
  1686.   <batch:id>itemB</batch:id>
  1687.   <batch:status code="201" reason="Created"/>
  1688. </entry>"""
  1689.  
  1690. BATCH_FEED_REQUEST = """<?xml version="1.0" encoding="UTF-8"?>
  1691. <feed
  1692.   xmlns="http://www.w3.org/2005/Atom"
  1693.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1694.   xmlns:g="http://base.google.com/ns/1.0"
  1695.   xmlns:batch="http://schemas.google.com/gdata/batch">
  1696.   <title type="text">My Batch Feed</title>
  1697.   <entry>
  1698.     <id>http://www.google.com/base/feeds/items/13308004346459454600</id>
  1699.     <batch:operation type="delete"/>
  1700.   </entry>
  1701.   <entry>
  1702.     <id>http://www.google.com/base/feeds/items/17437536661927313949</id>
  1703.     <batch:operation type="delete"/>
  1704.   </entry>
  1705.   <entry>
  1706.     <title type="text">...</title>
  1707.     <content type="html">...</content>
  1708.     <batch:id>itemA</batch:id>
  1709.     <batch:operation type="insert"/>
  1710.     <g:item_type>recipes</g:item_type>
  1711.   </entry>
  1712.   <entry>
  1713.     <title type="text">...</title>
  1714.     <content type="html">...</content>
  1715.     <batch:id>itemB</batch:id>
  1716.     <batch:operation type="insert"/>
  1717.     <g:item_type>recipes</g:item_type>
  1718.   </entry>
  1719. </feed>"""
  1720.  
  1721. BATCH_FEED_RESULT = """<?xml version="1.0" encoding="UTF-8"?>
  1722. <feed
  1723.   xmlns="http://www.w3.org/2005/Atom"
  1724.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  1725.   xmlns:g="http://base.google.com/ns/1.0"
  1726.   xmlns:batch="http://schemas.google.com/gdata/batch">
  1727.   <id>http://www.google.com/base/feeds/items</id>
  1728.   <updated>2006-07-11T14:51:42.894Z</updated>
  1729.   <title type="text">My Batch</title>
  1730.   <link rel="http://schemas.google.com/g/2005#feed"
  1731.     type="application/atom+xml"
  1732.     href="http://www.google.com/base/feeds/items"/>
  1733.   <link rel="http://schemas.google.com/g/2005#post"
  1734.     type="application/atom+xml"
  1735.     href="http://www.google.com/base/feeds/items"/>
  1736.   <link rel=" http://schemas.google.com/g/2005#batch"
  1737.     type="application/atom+xml"
  1738.     href="http://www.google.com/base/feeds/items/batch"/>
  1739.   <entry>
  1740.     <id>http://www.google.com/base/feeds/items/2173859253842813008</id>
  1741.     <published>2006-07-11T14:51:43.560Z</published>
  1742.     <updated>2006-07-11T14:51: 43.560Z</updated>
  1743.     <title type="text">...</title>
  1744.     <content type="html">...</content>
  1745.     <link rel="self"
  1746.       type="application/atom+xml"
  1747.       href="http://www.google.com/base/feeds/items/2173859253842813008"/>
  1748.     <link rel="edit"
  1749.       type="application/atom+xml"
  1750.       href="http://www.google.com/base/feeds/items/2173859253842813008"/>
  1751.     <g:item_type>recipes</g:item_type>
  1752.     <batch:operation type="insert"/>
  1753.     <batch:id>itemB</batch:id>
  1754.     <batch:status code="201" reason="Created"/>
  1755.   </entry>
  1756.   <entry>
  1757.     <id>http://www.google.com/base/feeds/items/11974645606383737963</id>
  1758.     <published>2006-07-11T14:51:43.247Z</published>
  1759.     <updated>2006-07-11T14:51: 43.247Z</updated>
  1760.     <title type="text">...</title>
  1761.     <content type="html">...</content>
  1762.     <link rel="self"
  1763.       type="application/atom+xml"
  1764.       href="http://www.google.com/base/feeds/items/11974645606383737963"/>
  1765.     <link rel="edit"
  1766.       type="application/atom+xml"
  1767.       href="http://www.google.com/base/feeds/items/11974645606383737963"/>
  1768.     <g:item_type>recipes</g:item_type>
  1769.     <batch:operation type="insert"/>
  1770.     <batch:id>itemA</batch:id>
  1771.     <batch:status code="201" reason="Created"/>
  1772.   </entry>
  1773.   <entry>
  1774.     <id>http://www.google.com/base/feeds/items/13308004346459454600</id>
  1775.     <updated>2006-07-11T14:51:42.894Z</updated>
  1776.     <title type="text">Error</title>
  1777.     <content type="text">Bad request</content>
  1778.     <batch:status code="404"
  1779.       reason="Bad request"
  1780.       content-type="application/xml">
  1781.       <errors>
  1782.         <error type="request" reason="Cannot find item"/>
  1783.       </errors>
  1784.     </batch:status>
  1785.   </entry>
  1786.   <entry>
  1787.     <id>http://www.google.com/base/feeds/items/17437536661927313949</id>
  1788.     <updated>2006-07-11T14:51:43.246Z</updated>
  1789.     <content type="text">Deleted</content>
  1790.     <batch:operation type="delete"/>
  1791.     <batch:status code="200" reason="Success"/>
  1792.   </entry>
  1793. </feed>"""
  1794.  
  1795. ALBUM_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1796. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gphoto="http://schemas.google.com/photos/2007">
  1797.   <id>http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1</id>
  1798.   <updated>2007-09-21T18:23:05.000Z</updated>
  1799.   <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#album"/>
  1800.   <title type="text">Test</title>
  1801.   <subtitle type="text"/>
  1802.   <rights type="text">public</rights>
  1803.   <icon>http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpg</icon>
  1804.   <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1"/>
  1805.   <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test"/>
  1806.   <link rel="http://schemas.google.com/photos/2007#slideshow" type="application/x-shockwave-flash" href="http://picasaweb.google.com/s/c/bin/slideshow.swf?host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fsample.user%2Falbumid%2F1%3Falt%3Drss"/>
  1807.   <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?start-index=1&max-results=500&kind=photo%2Ctag"/>
  1808.   <author>
  1809.     <name>sample</name>
  1810.     <uri>http://picasaweb.google.com/sample.user</uri>
  1811.   </author>
  1812.   <generator version="1.00" uri="http://picasaweb.google.com/">Picasaweb</generator>                                                                                                                                     <openSearch:totalResults>4</openSearch:totalResults>
  1813.   <openSearch:startIndex>1</openSearch:startIndex>
  1814.   <openSearch:itemsPerPage>500</openSearch:itemsPerPage>
  1815.   <gphoto:id>1</gphoto:id>
  1816.   <gphoto:name>Test</gphoto:name>
  1817.   <gphoto:location/>
  1818.   <gphoto:access>public</gphoto:access>                                                                                                                                                                                  <gphoto:timestamp>1188975600000</gphoto:timestamp>
  1819.   <gphoto:numphotos>2</gphoto:numphotos>
  1820.   <gphoto:user>sample.user</gphoto:user>
  1821.   <gphoto:nickname>sample</gphoto:nickname>
  1822.   <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
  1823.   <gphoto:commentCount>0</gphoto:commentCount>
  1824.   <entry>                                                                                                                                                                                                                  <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/2</id>
  1825.     <published>2007-09-05T20:49:23.000Z</published>
  1826.     <updated>2007-09-21T18:23:05.000Z</updated>
  1827.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
  1828.     <title type="text">Aqua Blue.jpg</title>
  1829.     <summary type="text">Blue</summary>
  1830.     <content type="image/jpeg" src="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg"/>                                                                                               <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/2"/>
  1831.     <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#2"/>
  1832.     <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/2"/>
  1833.     <gphoto:id>2</gphoto:id>
  1834.     <gphoto:version>1190398985145172</gphoto:version>
  1835.     <gphoto:position>0.0</gphoto:position>
  1836.     <gphoto:albumid>1</gphoto:albumid>                                                                                                                                                                                     <gphoto:width>2560</gphoto:width>
  1837.     <gphoto:height>1600</gphoto:height>
  1838.     <gphoto:size>883405</gphoto:size>
  1839.     <gphoto:client/>
  1840.     <gphoto:checksum/>
  1841.     <gphoto:timestamp>1189025362000</gphoto:timestamp>
  1842.     <exif:tags>                                                                                                                                                                                                              <exif:flash>true</exif:flash>
  1843.       <exif:imageUniqueID>c041ce17aaa637eb656c81d9cf526c24</exif:imageUniqueID>
  1844.     </exif:tags>
  1845.     <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
  1846.     <gphoto:commentCount>1</gphoto:commentCount>
  1847.     <media:group>
  1848.       <media:title type="plain">Aqua Blue.jpg</media:title>                                                                                                                                                                  <media:description type="plain">Blue</media:description>
  1849.       <media:keywords>tag, test</media:keywords>
  1850.       <media:content url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/Aqua%20Blue.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/>
  1851.       <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s72/Aqua%20Blue.jpg" height="45" width="72"/>
  1852.       <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s144/Aqua%20Blue.jpg" height="90" width="144"/>
  1853.       <media:thumbnail url="http://lh4.google.com/sample.user/Rt8WU4DZEKI/AAAAAAAAABY/IVgLqmnzJII/s288/Aqua%20Blue.jpg" height="180" width="288"/>
  1854.       <media:credit>sample</media:credit>
  1855.     </media:group>
  1856.   </entry>
  1857.   <entry>
  1858.     <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/3</id>
  1859.     <published>2007-09-05T20:49:24.000Z</published>
  1860.     <updated>2007-09-21T18:19:38.000Z</updated>
  1861.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
  1862.     <title type="text">Aqua Graphite.jpg</title>
  1863.     <summary type="text">Gray</summary>
  1864.     <content type="image/jpeg" src="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg"/>
  1865.     <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1/photoid/3"/>
  1866.     <link rel="alternate" type="text/html" href="http://picasaweb.google.com/sample.user/Test/photo#3"/>
  1867.     <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/3"/>
  1868.     <gphoto:id>3</gphoto:id>
  1869.     <gphoto:version>1190398778006402</gphoto:version>
  1870.     <gphoto:position>1.0</gphoto:position>
  1871.     <gphoto:albumid>1</gphoto:albumid>
  1872.     <gphoto:width>2560</gphoto:width>
  1873.     <gphoto:height>1600</gphoto:height>
  1874.     <gphoto:size>798334</gphoto:size>
  1875.     <gphoto:client/>
  1876.     <gphoto:checksum/>
  1877.     <gphoto:timestamp>1189025363000</gphoto:timestamp>
  1878.     <exif:tags>
  1879.       <exif:flash>true</exif:flash>
  1880.       <exif:imageUniqueID>a5ce2e36b9df7d3cb081511c72e73926</exif:imageUniqueID>
  1881.     </exif:tags>
  1882.     <gphoto:commentingEnabled>true</gphoto:commentingEnabled>
  1883.     <gphoto:commentCount>0</gphoto:commentCount>
  1884.     <media:group>
  1885.       <media:title type="plain">Aqua Graphite.jpg</media:title>
  1886.       <media:description type="plain">Gray</media:description>
  1887.       <media:keywords/>
  1888.       <media:content url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/Aqua%20Graphite.jpg" height="1600" width="2560" type="image/jpeg" medium="image"/>
  1889.       <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s72/Aqua%20Graphite.jpg" height="45" width="72"/>
  1890.       <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s144/Aqua%20Graphite.jpg" height="90" width="144"/>
  1891.       <media:thumbnail url="http://lh5.google.com/sample.user/Rt8WVIDZELI/AAAAAAAAABg/d7e0i7gvhNU/s288/Aqua%20Graphite.jpg" height="180" width="288"/>
  1892.       <media:credit>sample</media:credit>
  1893.     </media:group>
  1894.   </entry>
  1895.   <entry>
  1896.     <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag</id>
  1897.     <updated>2007-09-05T20:49:24.000Z</updated>
  1898.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/>
  1899.     <title type="text">tag</title>
  1900.     <summary type="text">tag</summary>
  1901.     <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=tag&psc=G&uname=sample.user&filter=0"/>
  1902.     <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag"/>
  1903.     <author>
  1904.       <name>sample</name>
  1905.       <uri>http://picasaweb.google.com/sample.user</uri>
  1906.     </author>
  1907.   </entry>
  1908.   <entry>
  1909.     <id>http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test</id>
  1910.     <updated>2007-09-05T20:49:24.000Z</updated>
  1911.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#tag"/>
  1912.     <title type="text">test</title>
  1913.     <summary type="text">test</summary>
  1914.     <link rel="alternate" type="text/html" href="http://picasaweb.google.com/lh/searchbrowse?q=test&psc=G&uname=sample.user&filter=0"/>
  1915.     <link rel="self" type="application/atom+xml" href="http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test"/>
  1916.     <author>
  1917.       <name>sample</name>
  1918.       <uri>http://picasaweb.google.com/sample.user</uri>
  1919.     </author>
  1920.   </entry>
  1921. </feed>"""
  1922.  
  1923. CODE_SEARCH_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  1924. <feed xmlns="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:gcs="http://schemas.google.com/codesearch/2006" xml:base="http://www.google.com">
  1925. <id>http://www.google.com/codesearch/feeds/search?q=malloc</id>
  1926. <updated>2007-12-19T16:08:04Z</updated> 
  1927. <title type="text">Google Code Search</title>
  1928. <generator version="1.0" uri="http://www.google.com/codesearch">Google Code Search</generator>
  1929. <opensearch:totalResults>2530000</opensearch:totalResults>
  1930. <opensearch:startIndex>1</opensearch:startIndex>
  1931. <author>
  1932. <name>Google Code Search</name>
  1933.  
  1934. <uri>http://www.google.com/codesearch</uri>
  1935. </author>
  1936. <link rel="http://schemas.google.com/g/2006#feed" type="application/atom+xml" href="http://schemas.google.com/codesearch/2006"/>
  1937. <link rel="self" type="application/atom+xml" href="http://www.google.com/codesearch/feeds/search?q=malloc"/>
  1938. <link rel="next" type="application/atom+xml"  href="http://www.google.com/codesearch/feeds/search?q=malloc&start-index=11"/>
  1939. <link rel="alternate" type="text/html" href="http://www.google.com/codesearch?q=malloc"/>
  1940. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:LDjwp-Iqc7U:84hEYaYsZk8:xDGReDhvNi0&sa=N&ct=rx&cd=1&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">software/autoconf/manual/autoconf-2.60/autoconf.html</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:LDjwp-Iqc7U:84hEYaYsZk8:xDGReDhvNi0&sa=N&ct=rx&cd=1&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002#first"/><gcs:package name="http://www.gnu.org" uri="http://www.gnu.org"></gcs:package><gcs:file name="software/autoconf/manual/autoconf-2.60/autoconf.html-002"></gcs:file><content type="text/html"><pre>     8:      void *<b>malloc</b> ();
  1941.         
  1942.  
  1943. </pre></content><gcs:match lineNumber="4" type="text/html"><pre>     #undef <b>malloc</b>
  1944. </pre></gcs:match><gcs:match lineNumber="8" type="text/html"><pre>     void *<b>malloc</b> ();
  1945.  
  1946. </pre></gcs:match><gcs:match lineNumber="14" type="text/html"><pre>     rpl_<b>malloc</b> (size_t n)
  1947. </pre></gcs:match><gcs:match lineNumber="18" type="text/html"><pre>       return <b>malloc</b> (n);
  1948.  
  1949. </pre></gcs:match></entry>
  1950. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:h4hfh-fV-jI:niBq_bwWZNs:H0OhClf0HWQ&sa=N&ct=rx&cd=2&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">guile-1.6.8/libguile/mallocs.c</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:h4hfh-fV-jI:niBq_bwWZNs:H0OhClf0HWQ&sa=N&ct=rx&cd=2&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c#first"/><gcs:package name="ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz" uri="ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz"></gcs:package><gcs:file name="guile-1.6.8/libguile/mallocs.c"></gcs:file><content type="text/html"><pre>    86: {
  1951.           scm_t_bits mem = n ? (scm_t_bits) <b>malloc</b> (n) : 0;
  1952.           if (n &amp;&amp; !mem)
  1953.  
  1954. </pre></content><gcs:match lineNumber="54" type="text/html"><pre>#include &lt;<b>malloc</b>.h&gt;
  1955. </pre></gcs:match><gcs:match lineNumber="62" type="text/html"><pre>scm_t_bits scm_tc16_<b>malloc</b>;
  1956.  
  1957. </pre></gcs:match><gcs:match lineNumber="66" type="text/html"><pre><b>malloc</b>_free (SCM ptr)
  1958. </pre></gcs:match><gcs:match lineNumber="75" type="text/html"><pre><b>malloc</b>_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
  1959.  
  1960. </pre></gcs:match><gcs:match lineNumber="77" type="text/html"><pre>  scm_puts(&quot;#&lt;<b>malloc</b> &quot;, port);
  1961. </pre></gcs:match><gcs:match lineNumber="87" type="text/html"><pre>  scm_t_bits mem = n ? (scm_t_bits) <b>malloc</b> (n) : 0;
  1962.  
  1963. </pre></gcs:match><gcs:match lineNumber="90" type="text/html"><pre>  SCM_RETURN_NEWSMOB (scm_tc16_<b>malloc</b>, mem);
  1964. </pre></gcs:match><gcs:match lineNumber="98" type="text/html"><pre>  scm_tc16_<b>malloc</b> = scm_make_smob_type (&quot;<b>malloc</b>&quot;, 0);
  1965.  
  1966. </pre></gcs:match><gcs:match lineNumber="99" type="text/html"><pre>  scm_set_smob_free (scm_tc16_<b>malloc</b>, <b>malloc</b>_free);
  1967. </pre></gcs:match><rights>GPL</rights></entry>
  1968.  
  1969. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:9wyZUG-N_30:7_dFxoC1ZrY:C0_iYbFj90M&sa=N&ct=rx&cd=3&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">bash-3.0/lib/malloc/alloca.c</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:9wyZUG-N_30:7_dFxoC1ZrY:C0_iYbFj90M&sa=N&ct=rx&cd=3&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c#first"/><gcs:package name="http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz" uri="http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz"></gcs:package><gcs:file name="bash-3.0/lib/malloc/alloca.c"></gcs:file><content type="text/html"><pre>    78: #ifndef emacs
  1970.         #define <b>malloc</b> x<b>malloc</b>
  1971.         extern pointer x<b>malloc</b> ();
  1972.  
  1973. </pre></content><gcs:match lineNumber="69" type="text/html"><pre>   <b>malloc</b>.  The Emacs executable needs alloca to call x<b>malloc</b>, because
  1974. </pre></gcs:match><gcs:match lineNumber="70" type="text/html"><pre>   ordinary <b>malloc</b> isn&#39;t protected from input signals.  On the other
  1975.  
  1976. </pre></gcs:match><gcs:match lineNumber="71" type="text/html"><pre>   hand, the utilities in lib-src need alloca to call <b>malloc</b>; some of
  1977. </pre></gcs:match><gcs:match lineNumber="72" type="text/html"><pre>   them are very simple, and don&#39;t have an x<b>malloc</b> routine.
  1978.  
  1979. </pre></gcs:match><gcs:match lineNumber="76" type="text/html"><pre>   Callers below should use <b>malloc</b>.  */
  1980. </pre></gcs:match><gcs:match lineNumber="79" type="text/html"><pre>#define <b>malloc</b> x<b>malloc</b>
  1981.  
  1982. </pre></gcs:match><gcs:match lineNumber="80" type="text/html"><pre>extern pointer x<b>malloc</b> ();
  1983. </pre></gcs:match><gcs:match lineNumber="132" type="text/html"><pre>   It is very important that sizeof(header) agree with <b>malloc</b>
  1984.  
  1985. </pre></gcs:match><gcs:match lineNumber="198" type="text/html"><pre>    register pointer new = <b>malloc</b> (sizeof (header) + size);
  1986. </pre></gcs:match><rights>GPL</rights></entry>
  1987. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:uhVCKyPcT6k:8juMxxzmUJw:H7_IDsTB2L4&sa=N&ct=rx&cd=4&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">mozilla/xpcom/build/malloc.c</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:uhVCKyPcT6k:8juMxxzmUJw:H7_IDsTB2L4&sa=N&ct=rx&cd=4&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c#first"/><gcs:package name="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2" uri="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2"></gcs:package><gcs:file name="mozilla/xpcom/build/malloc.c"></gcs:file><content type="text/html"><pre>    54:      http://gee.cs.oswego.edu/dl/html/<b>malloc</b>.html
  1988.         
  1989.           You may already by default be using a c library containing a <b>malloc</b>
  1990.  
  1991. </pre></content><gcs:match lineNumber="4" type="text/html"><pre>/* ---------- To make a <b>malloc</b>.h, start cutting here ------------ */
  1992. </pre></gcs:match><gcs:match lineNumber="22" type="text/html"><pre>   Note: There may be an updated version of this <b>malloc</b> obtainable at
  1993.  
  1994. </pre></gcs:match><gcs:match lineNumber="23" type="text/html"><pre>           ftp://gee.cs.oswego.edu/pub/misc/<b>malloc</b>.c
  1995. </pre></gcs:match><gcs:match lineNumber="34" type="text/html"><pre>* Why use this <b>malloc</b>?
  1996.  
  1997. </pre></gcs:match><gcs:match lineNumber="37" type="text/html"><pre>  most tunable <b>malloc</b> ever written. However it is among the fastest
  1998. </pre></gcs:match><gcs:match lineNumber="40" type="text/html"><pre>  allocator for <b>malloc</b>-intensive programs.
  1999.  
  2000. </pre></gcs:match><gcs:match lineNumber="54" type="text/html"><pre>     http://gee.cs.oswego.edu/dl/html/<b>malloc</b>.html
  2001. </pre></gcs:match><gcs:match lineNumber="56" type="text/html"><pre>  You may already by default be using a c library containing a <b>malloc</b>
  2002.  
  2003. </pre></gcs:match><gcs:match lineNumber="57" type="text/html"><pre>  that is somehow based on some version of this <b>malloc</b> (for example in
  2004. </pre></gcs:match><rights>Mozilla</rights></entry>
  2005. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:4n1P2HVOISs:Ybbpph0wR2M:OhIN_sDrG0U&sa=N&ct=rx&cd=5&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:4n1P2HVOISs:Ybbpph0wR2M:OhIN_sDrG0U&sa=N&ct=rx&cd=5&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh#first"/><gcs:package name="http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz" uri="http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz"></gcs:package><gcs:file name="hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh"></gcs:file><content type="text/html"><pre>    11: echo ================ unit-must-<b>malloc</b> tests ================
  2006.         ./unit-must-<b>malloc</b>
  2007.         echo ...passed
  2008.  
  2009. </pre></content><gcs:match lineNumber="2" type="text/html"><pre># tag: Tom Lord Tue Dec  4 14:54:29 2001 (mem-tests/unit-must-<b>malloc</b>.sh)
  2010. </pre></gcs:match><gcs:match lineNumber="11" type="text/html"><pre>echo ================ unit-must-<b>malloc</b> tests ================
  2011.  
  2012. </pre></gcs:match><gcs:match lineNumber="12" type="text/html"><pre>./unit-must-<b>malloc</b>
  2013. </pre></gcs:match><rights>GPL</rights></entry>
  2014. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:GzkwiWG266M:ykuz3bG00ws:2sTvVSif08g&sa=N&ct=rx&cd=6&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">tar-1.14/lib/malloc.c</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:GzkwiWG266M:ykuz3bG00ws:2sTvVSif08g&sa=N&ct=rx&cd=6&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c#first"/><gcs:package name="http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2" uri="http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2"></gcs:package><gcs:file name="tar-1.14/lib/malloc.c"></gcs:file><content type="text/html"><pre>    22: #endif
  2015.         #undef <b>malloc</b>
  2016.         
  2017.  
  2018. </pre></content><gcs:match lineNumber="1" type="text/html"><pre>/* Work around bug on some systems where <b>malloc</b> (0) fails.
  2019. </pre></gcs:match><gcs:match lineNumber="23" type="text/html"><pre>#undef <b>malloc</b>
  2020.  
  2021. </pre></gcs:match><gcs:match lineNumber="31" type="text/html"><pre>rpl_<b>malloc</b> (size_t n)
  2022. </pre></gcs:match><gcs:match lineNumber="35" type="text/html"><pre>  return <b>malloc</b> (n);
  2023.  
  2024. </pre></gcs:match><rights>GPL</rights></entry>
  2025. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:o_TFIeBY6dY:ktI_dt8wPao:AI03BD1Dz0Y&sa=N&ct=rx&cd=7&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">tar-1.16.1/lib/malloc.c</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:o_TFIeBY6dY:ktI_dt8wPao:AI03BD1Dz0Y&sa=N&ct=rx&cd=7&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c#first"/><gcs:package name="http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz" uri="http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz"></gcs:package><gcs:file name="tar-1.16.1/lib/malloc.c"></gcs:file><content type="text/html"><pre>    21: #include &lt;config.h&gt;
  2026.         #undef <b>malloc</b>
  2027.         
  2028.  
  2029. </pre></content><gcs:match lineNumber="1" type="text/html"><pre>/* <b>malloc</b>() function that is glibc compatible.
  2030. </pre></gcs:match><gcs:match lineNumber="22" type="text/html"><pre>#undef <b>malloc</b>
  2031.  
  2032. </pre></gcs:match><gcs:match lineNumber="30" type="text/html"><pre>rpl_<b>malloc</b> (size_t n)
  2033. </pre></gcs:match><gcs:match lineNumber="34" type="text/html"><pre>  return <b>malloc</b> (n);
  2034.  
  2035. </pre></gcs:match><rights>GPL</rights></entry>
  2036. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:_ibw-VLkMoI:jBOtIJSmFd4:-0NUEVeCwfY&sa=N&ct=rx&cd=8&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">uClibc-0.9.29/include/malloc.h</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:_ibw-VLkMoI:jBOtIJSmFd4:-0NUEVeCwfY&sa=N&ct=rx&cd=8&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h#first"/><gcs:package name="http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2" uri="http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2"></gcs:package><gcs:file name="uClibc-0.9.29/include/malloc.h"></gcs:file><content type="text/html"><pre>     1: /* Prototypes and definition for <b>malloc</b> implementation.
  2037.            Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
  2038.  
  2039. </pre></content><gcs:match lineNumber="1" type="text/html"><pre>/* Prototypes and definition for <b>malloc</b> implementation.
  2040. </pre></gcs:match><gcs:match lineNumber="26" type="text/html"><pre>  `pt<b>malloc</b>&#39;, a <b>malloc</b> implementation for multiple threads without
  2041.  
  2042. </pre></gcs:match><gcs:match lineNumber="28" type="text/html"><pre>  See the files `pt<b>malloc</b>.c&#39; or `COPYRIGHT&#39; for copying conditions.
  2043. </pre></gcs:match><gcs:match lineNumber="32" type="text/html"><pre>  This work is mainly derived from <b>malloc</b>-2.6.4 by Doug Lea
  2044.  
  2045. </pre></gcs:match><gcs:match lineNumber="35" type="text/html"><pre>                 ftp://g.oswego.edu/pub/misc/<b>malloc</b>.c
  2046. </pre></gcs:match><gcs:match lineNumber="40" type="text/html"><pre>  `pt<b>malloc</b>.c&#39;.
  2047.  
  2048. </pre></gcs:match><gcs:match lineNumber="45" type="text/html"><pre># define __<b>malloc</b>_ptr_t  void *
  2049. </pre></gcs:match><gcs:match lineNumber="51" type="text/html"><pre># define __<b>malloc</b>_ptr_t  char *
  2050.  
  2051. </pre></gcs:match><gcs:match lineNumber="56" type="text/html"><pre># define __<b>malloc</b>_size_t size_t
  2052. </pre></gcs:match><rights>LGPL</rights></entry>
  2053. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:F6qHcZ9vefo:bTX7o9gKfks:hECF4r_eKC0&sa=N&ct=rx&cd=9&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">glibc-2.0.1/hurd/hurdmalloc.h</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:F6qHcZ9vefo:bTX7o9gKfks:hECF4r_eKC0&sa=N&ct=rx&cd=9&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h#first"/><gcs:package name="http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz" uri="http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz"></gcs:package><gcs:file name="glibc-2.0.1/hurd/hurdmalloc.h"></gcs:file><content type="text/html"><pre>    15: #define <b>malloc</b>   _hurd_<b>malloc</b>
  2054.         #define realloc _hurd_realloc
  2055.  
  2056. </pre></content><gcs:match lineNumber="3" type="text/html"><pre>   All hurd-internal code which uses <b>malloc</b> et al includes this file so it
  2057. </pre></gcs:match><gcs:match lineNumber="4" type="text/html"><pre>   will use the internal <b>malloc</b> routines _hurd_{<b>malloc</b>,realloc,free}
  2058.  
  2059. </pre></gcs:match><gcs:match lineNumber="7" type="text/html"><pre>   of <b>malloc</b> et al is the unixoid one using sbrk.
  2060. </pre></gcs:match><gcs:match lineNumber="11" type="text/html"><pre>extern void *_hurd_<b>malloc</b> (size_t);
  2061.  
  2062. </pre></gcs:match><gcs:match lineNumber="15" type="text/html"><pre>#define <b>malloc</b>        _hurd_<b>malloc</b>
  2063. </pre></gcs:match><rights>GPL</rights></entry>
  2064.  
  2065. <entry><id>http://www.google.com/codesearch?hl=en&q=+malloc+show:CHUvHYzyLc8:pdcAfzDA6lY:wjofHuNLTHg&sa=N&ct=rx&cd=10&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h#first</id><updated>2007-12-19T16:08:04Z</updated><author><name>Code owned by external author.</name></author><title type="text">httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h</title><link rel="alternate" type="text/html" href="http://www.google.com/codesearch?hl=en&q=+malloc+show:CHUvHYzyLc8:pdcAfzDA6lY:wjofHuNLTHg&sa=N&ct=rx&cd=10&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h#first"/><gcs:package name="ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2" uri="ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2"></gcs:package><gcs:file name="httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h"></gcs:file><content type="text/html"><pre>   173: #undef <b>malloc</b>
  2066.         #define <b>malloc</b>(x) library_<b>malloc</b>(gLibHandle,x)
  2067.  
  2068. </pre></content><gcs:match lineNumber="170" type="text/html"><pre>/* Redefine <b>malloc</b> to use the library <b>malloc</b> call so
  2069. </pre></gcs:match><gcs:match lineNumber="173" type="text/html"><pre>#undef <b>malloc</b>
  2070.  
  2071. </pre></gcs:match><gcs:match lineNumber="174" type="text/html"><pre>#define <b>malloc</b>(x) library_<b>malloc</b>(gLibHandle,x)
  2072. </pre></gcs:match><rights>Apache</rights></entry>
  2073.  
  2074. </feed>"""
  2075.  
  2076. YOUTUBE_VIDEO_FEED = """<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss' xmlns:media='http://search.yahoo.com/mrss/' xmlns:yt='http://gdata.youtube.com/schemas/2007' xmlns:gd='http://schemas.google.com/g/2005'><id>http://gdata.youtube.com/feeds/api/standardfeeds/top_rated</id><updated>2008-05-14T02:24:07.000-07:00</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><title type='text'>Top Rated</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/browse?s=tr'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/standardfeeds/top_rated'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?start-index=1&max-results=25'/><link rel='next' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?start-index=26&max-results=25'/><author><name>YouTube</name><uri>http://www.youtube.com/</uri></author><generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator><openSearch:totalResults>100</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2077. <entry><id>http://gdata.youtube.com/feeds/api/videos/C71ypXYGho8</id><published>2008-03-20T10:17:27.000-07:00</published><updated>2008-05-14T04:26:37.000-07:00</updated><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='karyn'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='garcia'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='me'/><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='boyfriend'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='por'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='te'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='odeio'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='amar'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Music' label='Music'/><title type='text'>Me odeio por te amar - KARYN GARCIA</title><content type='text'>http://www.karyngarcia.com.br</content><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=C71ypXYGho8'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/C71ypXYGho8/related'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/standardfeeds/top_rated/C71ypXYGho8'/><author><name>TvKarynGarcia</name><uri>http://gdata.youtube.com/feeds/api/users/tvkaryngarcia</uri></author><media:group><media:title type='plain'>Me odeio por te amar - KARYN GARCIA</media:title><media:description type='plain'>http://www.karyngarcia.com.br</media:description><media:keywords>amar, boyfriend, garcia, karyn, me, odeio, por, te</media:keywords><yt:duration seconds='203'/><media:category label='Music' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Music</media:category><media:category label='test111' scheme='http://gdata.youtube.com/schemas/2007/developertags.cat'>test111</media:category><media:category label='test222' scheme='http://gdata.youtube.com/schemas/2007/developertags.cat'>test222</media:category><media:content url='http://www.youtube.com/v/C71ypXYGho8' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='203' yt:format='5'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQmPhgZ2pXK9CxMYDSANFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='203' yt:format='1'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQmPhgZ2pXK9CxMYESARFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='203' yt:format='6'/><media:player url='http://www.youtube.com/watch?v=C71ypXYGho8'/><media:thumbnail url='http://img.youtube.com/vi/C71ypXYGho8/2.jpg' height='97' width='130' time='00:01:41.500'/><media:thumbnail url='http://img.youtube.com/vi/C71ypXYGho8/1.jpg' height='97' width='130' time='00:00:50.750'/><media:thumbnail url='http://img.youtube.com/vi/C71ypXYGho8/3.jpg' height='97' width='130' time='00:02:32.250'/><media:thumbnail url='http://img.youtube.com/vi/C71ypXYGho8/0.jpg' height='240' width='320' time='00:01:41.500'/></media:group><yt:statistics viewCount='138864' favoriteCount='2474'/><gd:rating min='1' max='5' numRaters='4626' average='4.95'/><gd:comments><gd:feedLink href='http://gdata.youtube.com/feeds/api/videos/C71ypXYGho8/comments' countHint='27'/></gd:comments></entry>
  2078. <entry><id>http://gdata.youtube.com/feeds/api/videos/gsVaTyb1tBw</id><published>2008-02-15T04:31:45.000-08:00</published><updated>2008-05-14T05:09:42.000-07:00</updated><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='extreme'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='cam'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Sports' label='Sports'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='alcala'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='kani'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='helmet'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='campillo'/><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='pato'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='dirt'/><title type='text'>extreme helmet cam Kani, Keil and Pato</title><content type='text'>trimmed</content><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=gsVaTyb1tBw'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/gsVaTyb1tBw/responses'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/gsVaTyb1tBw/related'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured/gsVaTyb1tBw'/><author><name>peraltamagic</name><uri>http://gdata.youtube.com/feeds/api/users/peraltamagic</uri></author><media:group><media:title type='plain'>extreme helmet cam Kani, Keil and Pato</media:title><media:description type='plain'>trimmed</media:description><media:keywords>alcala, cam, campillo, dirt, extreme, helmet, kani, pato</media:keywords><yt:duration seconds='31'/><media:category label='Sports' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Sports</media:category><media:content url='http://www.youtube.com/v/gsVaTyb1tBw' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='31' yt:format='5'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQkctPUmT1rFghMYDSANFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='31' yt:format='1'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQkctPUmT1rFghMYESARFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='31' yt:format='6'/><media:player url='http://www.youtube.com/watch?v=gsVaTyb1tBw'/><media:thumbnail url='http://img.youtube.com/vi/gsVaTyb1tBw/2.jpg' height='97' width='130' time='00:00:15.500'/><media:thumbnail url='http://img.youtube.com/vi/gsVaTyb1tBw/1.jpg' height='97' width='130' time='00:00:07.750'/><media:thumbnail url='http://img.youtube.com/vi/gsVaTyb1tBw/3.jpg' height='97' width='130' time='00:00:23.250'/><media:thumbnail url='http://img.youtube.com/vi/gsVaTyb1tBw/0.jpg' height='240' width='320' time='00:00:15.500'/></media:group><yt:statistics viewCount='489941' favoriteCount='561'/><gd:rating min='1' max='5' numRaters='1255' average='4.11'/><gd:comments><gd:feedLink href='http://gdata.youtube.com/feeds/api/videos/gsVaTyb1tBw/comments' countHint='1116'/></gd:comments></entry>
  2079. </feed>"""
  2080.  
  2081. YOUTUBE_ENTRY_PRIVATE = """<?xml version='1.0' encoding='utf-8'?>
  2082. <entry xmlns='http://www.w3.org/2005/Atom' 
  2083. xmlns:media='http://search.yahoo.com/mrss/' 
  2084. xmlns:gd='http://schemas.google.com/g/2005' 
  2085. xmlns:yt='http://gdata.youtube.com/schemas/2007' 
  2086. xmlns:gml='http://www.opengis.net/gml' 
  2087. xmlns:georss='http://www.georss.org/georss'
  2088. xmlns:app='http://purl.org/atom/app#'>
  2089.   <id>http://gdata.youtube.com/feeds/videos/UMFI1hdm96E</id>
  2090.   <published>2007-01-07T01:50:15.000Z</published>
  2091.   <updated>2007-01-07T01:50:15.000Z</updated>
  2092.   <category scheme='http://schemas.google.com/g/2005#kind'
  2093.   term='http://gdata.youtube.com/schemas/2007#video' />
  2094.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2095.   term='barkley' />
  2096.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2097.   term='singing' />
  2098.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2099.   term='acoustic' />
  2100.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2101.   term='cover' />
  2102.   <category scheme='http://gdata.youtube.com/schemas/2007/categories.cat'
  2103.   term='Music' label='Music' />
  2104.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2105.   term='gnarls' />
  2106.   <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat'
  2107.   term='music' />
  2108.   <title type='text'>"Crazy (Gnarles Barkley)" - Acoustic Cover</title>
  2109.   <content type='html'><div style="color: #000000;font-family:
  2110.   Arial, Helvetica, sans-serif; font-size:12px; font-size: 12px;
  2111.   width: 555px;"><table cellspacing="0" cellpadding="0"
  2112.   border="0"><tbody><tr><td width="140"
  2113.   valign="top" rowspan="2"><div style="border: 1px solid
  2114.   #999999; margin: 0px 10px 5px 0px;"><a
  2115.   href="http://www.youtube.com/watch?v=UMFI1hdm96E"><img
  2116.   alt=""
  2117.   src="http://img.youtube.com/vi/UMFI1hdm96E/2.jpg"></a></div></td>
  2118.   <td width="256" valign="top"><div style="font-size:
  2119.   12px; font-weight: bold;"><a style="font-size: 15px;
  2120.   font-weight: bold; font-decoration: none;"
  2121.   href="http://www.youtube.com/watch?v=UMFI1hdm96E">&quot;Crazy
  2122.   (Gnarles Barkley)&quot; - Acoustic Cover</a>
  2123.   <br></div> <div style="font-size: 12px; margin:
  2124.   3px 0px;"><span>Gnarles Barkley acoustic cover
  2125.   http://www.myspace.com/davidchoimusic</span></div></td>
  2126.   <td style="font-size: 11px; line-height: 1.4em; padding-left:
  2127.   20px; padding-top: 1px;" width="146"
  2128.   valign="top"><div><span style="color: #666666;
  2129.   font-size: 11px;">From:</span> <a
  2130.   href="http://www.youtube.com/profile?user=davidchoimusic">davidchoimusic</a></div>
  2131.   <div><span style="color: #666666; font-size:
  2132.   11px;">Views:</span> 113321</div> <div
  2133.   style="white-space: nowrap;text-align: left"><img
  2134.   style="border: 0px none; margin: 0px; padding: 0px;
  2135.   vertical-align: middle; font-size: 11px;" align="top" alt=""
  2136.   src="http://gdata.youtube.com/static/images/icn_star_full_11x11.gif">
  2137.   <img style="border: 0px none; margin: 0px; padding: 0px;
  2138.   vertical-align: middle; font-size: 11px;" align="top" alt=""
  2139.   src="http://gdata.youtube.com/static/images/icn_star_full_11x11.gif">
  2140.   <img style="border: 0px none; margin: 0px; padding: 0px;
  2141.   vertical-align: middle; font-size: 11px;" align="top" alt=""
  2142.   src="http://gdata.youtube.com/static/images/icn_star_full_11x11.gif">
  2143.   <img style="border: 0px none; margin: 0px; padding: 0px;
  2144.   vertical-align: middle; font-size: 11px;" align="top" alt=""
  2145.   src="http://gdata.youtube.com/static/images/icn_star_full_11x11.gif">
  2146.   <img style="border: 0px none; margin: 0px; padding: 0px;
  2147.   vertical-align: middle; font-size: 11px;" align="top" alt=""
  2148.   src="http://gdata.youtube.com/static/images/icn_star_half_11x11.gif"></div>
  2149.   <div style="font-size: 11px;">1005 <span style="color:
  2150.   #666666; font-size:
  2151.   11px;">ratings</span></div></td></tr>
  2152.   <tr><td><span style="color: #666666; font-size:
  2153.   11px;">Time:</span> <span style="color: #000000;
  2154.   font-size: 11px; font-weight:
  2155.   bold;">04:15</span></td> <td style="font-size:
  2156.   11px; padding-left: 20px;"><span style="color: #666666;
  2157.   font-size: 11px;">More in</span> <a
  2158.   href="http://www.youtube.com/categories_portal?c=10">Music</a></td></tr></tbody></table></div></content>
  2159.   <link rel='self' type='application/atom+xml'
  2160.   href='http://gdata.youtube.com/feeds/videos/UMFI1hdm96E' />
  2161.   <link rel='alternate' type='text/html'
  2162.   href='http://www.youtube.com/watch?v=UMFI1hdm96E' />
  2163.   <link rel='http://gdata.youtube.com/schemas/2007#video.responses'
  2164.   type='application/atom+xml'
  2165.   href='http://gdata.youtube.com/feeds/videos/UMFI1hdm96E/responses' />
  2166.   <link rel='http://gdata.youtube.com/schemas/2007#video.related'
  2167.   type='application/atom+xml'
  2168.   href='http://gdata.youtube.com/feeds/videos/UMFI1hdm96E/related' />
  2169.   <author>
  2170.     <name>davidchoimusic</name>
  2171.     <uri>http://gdata.youtube.com/feeds/users/davidchoimusic</uri>
  2172.   </author>
  2173.   <media:group>
  2174.     <media:title type='plain'>"Crazy (Gnarles Barkley)" - Acoustic Cover</media:title>
  2175.     <media:description type='plain'>Gnarles Barkley acoustic cover http://www.myspace.com/davidchoimusic</media:description>
  2176.     <media:keywords>music, singing, gnarls, barkley, acoustic, cover</media:keywords>
  2177.     <yt:duration seconds='255' />
  2178.     <media:category label='Music'
  2179.     scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>
  2180.     Music</media:category>
  2181.     <media:category 
  2182.     scheme='http://gdata.youtube.com/schemas/2007/developertags.cat'>
  2183.     DeveloperTag1</media:category>
  2184.     <media:content url='http://www.youtube.com/v/UMFI1hdm96E'
  2185.     type='application/x-shockwave-flash' medium='video'
  2186.     isDefault='true' expression='full' duration='255'
  2187.     yt:format='5' />
  2188.     <media:player url='http://www.youtube.com/watch?v=UMFI1hdm96E' />
  2189.     <media:thumbnail url='http://img.youtube.com/vi/UMFI1hdm96E/2.jpg'
  2190.     height='97' width='130' time='00:02:07.500' />
  2191.     <media:thumbnail url='http://img.youtube.com/vi/UMFI1hdm96E/1.jpg'
  2192.     height='97' width='130' time='00:01:03.750' />
  2193.     <media:thumbnail url='http://img.youtube.com/vi/UMFI1hdm96E/3.jpg'
  2194.     height='97' width='130' time='00:03:11.250' />
  2195.     <media:thumbnail url='http://img.youtube.com/vi/UMFI1hdm96E/0.jpg'
  2196.     height='240' width='320' time='00:02:07.500' />
  2197.     <yt:private />
  2198.   </media:group>
  2199.   <yt:statistics viewCount='113321' />
  2200.   <gd:rating min='1' max='5' numRaters='1005' average='4.77' />
  2201.   <georss:where>
  2202.     <gml:Point>
  2203.       <gml:pos>37.398529052734375 -122.0635986328125</gml:pos>
  2204.     </gml:Point>
  2205.   </georss:where>
  2206.   <gd:comments>
  2207.     <gd:feedLink href='http://gdata.youtube.com/feeds/videos/UMFI1hdm96E/comments' />
  2208.   </gd:comments>
  2209.   <yt:noembed />
  2210.       <app:control>
  2211.         <app:draft>yes</app:draft>
  2212.         <yt:state
  2213.           name="rejected"
  2214.           reasonCode="inappropriate"
  2215.           helpUrl="http://www.youtube.com/t/community_guidelines">
  2216.           The content of this video may violate the terms of use.</yt:state>
  2217.       </app:control>
  2218. </entry>"""
  2219.  
  2220. YOUTUBE_COMMENT_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  2221. <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments</id><updated>2008-05-19T21:45:45.261Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#comment'/><title type='text'>Comments</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=2Idhz9ef5oU'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments?start-index=1&max-results=25'/><author><name>YouTube</name><uri>http://www.youtube.com/</uri></author><generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator><openSearch:totalResults>0</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2222.   <entry>
  2223.     <id>http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/91F809A3DE2EB81B</id>
  2224.     <published>2008-02-22T15:27:15.000-08:00</published><updated>2008-02-22T15:27:15.000-08:00</updated>
  2225.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#comment'/>
  2226.     <title type='text'>test66</title>
  2227.       <content type='text'>test66</content>
  2228.       <link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU'/>
  2229.       <link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=2Idhz9ef5oU'/>
  2230.       <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/91F809A3DE2EB81B'/>
  2231.       <author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author>
  2232.    </entry>
  2233.    <entry>
  2234.     <id>http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/A261AEEFD23674AA</id>
  2235.     <published>2008-02-22T15:27:01.000-08:00</published><updated>2008-02-22T15:27:01.000-08:00</updated>
  2236.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#comment'/>
  2237.     <title type='text'>test333</title>
  2238.       <content type='text'>test333</content>
  2239.         <link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU'/>
  2240.         <link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=2Idhz9ef5oU'/>
  2241.         <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/A261AEEFD23674AA'/>
  2242.         <author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author>
  2243.     </entry>
  2244.     <entry>
  2245.       <id>http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/0DCF1E3531B3FF85</id>
  2246.       <published>2008-02-22T15:11:06.000-08:00</published><updated>2008-02-22T15:11:06.000-08:00</updated>
  2247.       <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#comment'/>
  2248.       <title type='text'>test2</title>
  2249.       <content type='text'>test2</content>
  2250.         <link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU'/>
  2251.         <link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=2Idhz9ef5oU'/>
  2252.         <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2Idhz9ef5oU/comments/0DCF1E3531B3FF85'/>
  2253.         <author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author>
  2254.     </entry>
  2255. </feed>"""
  2256.  
  2257. YOUTUBE_PLAYLIST_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  2258. <feed xmlns='http://www.w3.org/2005/Atom'
  2259.     xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' 
  2260.     xmlns:media='http://search.yahoo.com/mrss/' 
  2261.     xmlns:yt='http://gdata.youtube.com/schemas/2007' 
  2262.     xmlns:gd='http://schemas.google.com/g/2005'>
  2263.   <id>http://gdata.youtube.com/feeds/users/andyland74/playlists?start-index=1&max-results=25</id>
  2264.   <updated>2008-02-26T00:26:15.635Z</updated>
  2265.   <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/>
  2266.   <title type='text'>andyland74's Playlists</title>
  2267.   <logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo>
  2268.   <link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/andyland74'/>
  2269.   <link rel='alternate' type='text/html' href='http://www.youtube.com/profile_play_list?user=andyland74'/>
  2270.   <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/andyland74/playlists'/>
  2271.   <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/andyland74/playlists?start-index=1&max-results=25'/>
  2272.   <author>
  2273.     <name>andyland74</name>
  2274.     <uri>http://gdata.youtube.com/feeds/users/andyland74</uri>
  2275.   </author>
  2276.   <generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator>
  2277.   <openSearch:totalResults>1</openSearch:totalResults>
  2278.   <openSearch:startIndex>1</openSearch:startIndex>
  2279.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2280.   <entry>
  2281.     <yt:description>My new playlist Description</yt:description>
  2282.     <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#playlist' href='http://gdata.youtube.com/feeds/playlists/8BCDD04DE8F771B2'/>
  2283.     <id>http://gdata.youtube.com/feeds/users/andyland74/playlists/8BCDD04DE8F771B2</id>
  2284.     <published>2007-11-04T17:30:27.000-08:00</published>
  2285.     <updated>2008-02-22T09:55:14.000-08:00</updated>
  2286.     <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/>
  2287.     <title type='text'>My New Playlist Title</title>
  2288.     <content type='text'>My new playlist Description</content>
  2289.     <link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/andyland74'/>
  2290.     <link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=8BCDD04DE8F771B2'/>
  2291.     <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/andyland74/playlists/8BCDD04DE8F771B2'/>
  2292.     <author>
  2293.       <name>andyland74</name>                              
  2294.       <uri>http://gdata.youtube.com/feeds/users/andyland74</uri>
  2295.     </author>
  2296.   </entry>              
  2297. </feed>"""
  2298.  
  2299. YOUTUBE_PLAYLIST_VIDEO_FEED = """<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss' xmlns:media='http://search.yahoo.com/mrss/' xmlns:yt='http://gdata.youtube.com/schemas/2007' xmlns:gd='http://schemas.google.com/g/2005'><id>http://gdata.youtube.com/feeds/api/playlists/BCB3BB96DF51B505</id><updated>2008-05-16T12:03:17.000-07:00</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><category scheme='http://gdata.youtube.com/schemas/2007/tags.cat' term='videos'/><category scheme='http://gdata.youtube.com/schemas/2007/tags.cat' term='python'/><title type='text'>Test Playlist</title><subtitle type='text'>Test playlist 1</subtitle><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=BCB3BB96DF51B505'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BCB3BB96DF51B505'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BCB3BB96DF51B505?start-index=1&max-results=25'/><author><name>gdpython</name><uri>http://gdata.youtube.com/feeds/api/users/gdpython</uri></author><generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><media:group><media:title type='plain'>Test Playlist</media:title><media:description type='plain'>Test playlist 1</media:description><media:content url='http://www.youtube.com/ep.swf?id=BCB3BB96DF51B505' type='application/x-shockwave-flash' yt:format='5'/></media:group><entry><id>http://gdata.youtube.com/feeds/api/playlists/BCB3BB96DF51B505/B0F29389E537F888</id><updated>2008-05-16T20:54:08.520Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><title type='text'>Uploading YouTube Videos with the PHP Client Library</title><content type='text'>Jochen Hartmann demonstrates the basics of how to use the PHP Client Library with the YouTube Data API.
  2300.  
  2301. PHP Developer's Guide:
  2302. http://code.google.com/apis/youtube/developers_guide_php.html
  2303.  
  2304. Other documentation:
  2305. http://code.google.com/apis/youtube/</content><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=iIp7OnHXBlo'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/iIp7OnHXBlo/responses'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/iIp7OnHXBlo/related'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/iIp7OnHXBlo'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BCB3BB96DF51B505/B0F29389E537F888'/><author><name>GoogleDevelopers</name><uri>http://gdata.youtube.com/feeds/api/users/googledevelopers</uri></author><media:group><media:title type='plain'>Uploading YouTube Videos with the PHP Client Library</media:title><media:description type='plain'>Jochen Hartmann demonstrates the basics of how to use the PHP Client Library with the YouTube Data API.
  2306.  
  2307. PHP Developer's Guide:
  2308. http://code.google.com/apis/youtube/developers_guide_php.html
  2309.  
  2310. Other documentation:
  2311. http://code.google.com/apis/youtube/</media:description><media:keywords>api, data, demo, php, screencast, tutorial, uploading, walkthrough, youtube</media:keywords><yt:duration seconds='466'/><media:category label='Education' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Education</media:category><media:content url='http://www.youtube.com/v/iIp7OnHXBlo' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='466' yt:format='5'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQlaBtdxOnuKiBMYDSANFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='466' yt:format='1'/><media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQlaBtdxOnuKiBMYESARFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='466' yt:format='6'/><media:player url='http://www.youtube.com/watch?v=iIp7OnHXBlo'/><media:thumbnail url='http://img.youtube.com/vi/iIp7OnHXBlo/2.jpg' height='97' width='130' time='00:03:53'/><media:thumbnail url='http://img.youtube.com/vi/iIp7OnHXBlo/1.jpg' height='97' width='130' time='00:01:56.500'/><media:thumbnail url='http://img.youtube.com/vi/iIp7OnHXBlo/3.jpg' height='97' width='130' time='00:05:49.500'/><media:thumbnail url='http://img.youtube.com/vi/iIp7OnHXBlo/0.jpg' height='240' width='320' time='00:03:53'/></media:group><yt:statistics viewCount='1550' favoriteCount='5'/><gd:rating min='1' max='5' numRaters='3' average='4.67'/><yt:location>undefined</yt:location><gd:comments><gd:feedLink href='http://gdata.youtube.com/feeds/api/videos/iIp7OnHXBlo/comments' countHint='2'/></gd:comments><yt:position>1</yt:position></entry></feed>"""
  2312.  
  2313. YOUTUBE_SUBSCRIPTION_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  2314. <feed xmlns='http://www.w3.org/2005/Atom'
  2315.     xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  2316.     xmlns:media='http://search.yahoo.com/mrss/'
  2317.     xmlns:yt='http://gdata.youtube.com/schemas/2007'
  2318.     xmlns:gd='http://schemas.google.com/g/2005'>
  2319.   <id>http://gdata.youtube.com/feeds/users/andyland74/subscriptions?start-index=1&max-results=25</id>
  2320.   <updated>2008-02-26T00:26:15.635Z</updated>
  2321.   <category scheme='http://schemas.google.com/g/2005#kind'
  2322.     term='http://gdata.youtube.com/schemas/2007#subscription'/>
  2323.   <title type='text'>andyland74's Subscriptions</title>
  2324.   <logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo>
  2325.   <link rel='related' type='application/atom+xml'
  2326.     href='http://gdata.youtube.com/feeds/users/andyland74'/>
  2327.   <link rel='alternate' type='text/html'
  2328.     href='http://www.youtube.com/profile_subscriptions?user=andyland74'/>
  2329.   <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml'
  2330.     href='http://gdata.youtube.com/feeds/users/andyland74/subscriptions'/>
  2331.   <link rel='self' type='application/atom+xml'
  2332.     href='http://gdata.youtube.com/feeds/users/andyland74/subscriptions?start-index=1&max-results=25'/>
  2333.   <author>
  2334.     <name>andyland74</name>
  2335.     <uri>http://gdata.youtube.com/feeds/users/andyland74</uri>
  2336.   </author>
  2337.   <generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator>
  2338.   <openSearch:totalResults>1</openSearch:totalResults>
  2339.   <openSearch:startIndex>1</openSearch:startIndex>
  2340.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2341.   <entry>
  2342.     <id>http://gdata.youtube.com/feeds/users/andyland74/subscriptions/d411759045e2ad8c</id>
  2343.     <published>2007-11-04T17:30:27.000-08:00</published>
  2344.     <updated>2008-02-22T09:55:14.000-08:00</updated>
  2345.     <category scheme='http://gdata.youtube.com/schemas/2007/subscriptiontypes.cat'
  2346.       term='channel'/>
  2347.     <category scheme='http://schemas.google.com/g/2005#kind'
  2348.       term='http://gdata.youtube.com/schemas/2007#subscription'/>
  2349.     <title type='text'>Videos published by : NBC</title>
  2350.     <link rel='related' type='application/atom+xml'
  2351.       href='http://gdata.youtube.com/feeds/users/andyland74'/>
  2352.     <link rel='alternate' type='text/html'
  2353.       href='http://www.youtube.com/profile_videos?user=NBC'/>
  2354.     <link rel='self' type='application/atom+xml'
  2355.       href='http://gdata.youtube.com/feeds/users/andyland74/subscriptions/d411759045e2ad8c'/>
  2356.     <author>
  2357.       <name>andyland74</name>
  2358.       <uri>http://gdata.youtube.com/feeds/users/andyland74</uri>
  2359.     </author>
  2360.     <yt:username>NBC</yt:username>
  2361.     <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads'
  2362.       href='http://gdata.youtube.com/feeds/api/users/nbc/uploads'/>
  2363.   </entry>
  2364. </feed>"""
  2365.  
  2366. YOUTUBE_VIDEO_RESPONSE_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  2367.   <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss' xmlns:media='http://search.yahoo.com/mrss/' xmlns:yt='http://gdata.youtube.com/schemas/2007' xmlns:gd='http://schemas.google.com/g/2005'>
  2368.   <id>http://gdata.youtube.com/feeds/videos/2c3q9K4cHzY/responses</id><updated>2008-05-19T22:37:34.076Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><title type='text'>Videos responses to 'Giant NES controller coffee table'</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2c3q9K4cHzY'/><link rel='alternate' type='text/html' href='http://www.youtube.com/video_response_view_all?v=2c3q9K4cHzY'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2c3q9K4cHzY/responses'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2c3q9K4cHzY/responses?start-index=1&max-results=25'/><author><name>YouTube</name><uri>http://www.youtube.com/</uri></author><generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2369.     <entry>
  2370.       <id>http://gdata.youtube.com/feeds/videos/7b9EnRI9VbY</id><published>2008-03-11T19:08:53.000-07:00</published><updated>2008-05-18T21:33:10.000-07:00</updated>
  2371.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='OD'/><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='chat'/>
  2372.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='Uncle'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='sex'/>
  2373.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='catmint'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='kato'/>
  2374.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='kissa'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='katt'/>
  2375.       <category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Animals' label='Pets & Animals'/>
  2376.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='kat'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='cat'/>
  2377.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='cats'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='kedi'/>
  2378.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='gato'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='Brattman'/>
  2379.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='drug'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='overdose'/>
  2380.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='catnip'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='party'/>
  2381.       <category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='Katze'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='gatto'/>
  2382.       <title type='text'>Catnip Party</title><content type='html'>snipped</content>
  2383.       <link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=7b9EnRI9VbY'/>
  2384.       <link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/7b9EnRI9VbY/responses'/>
  2385.       <link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/7b9EnRI9VbY/related'/>
  2386.       <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/videos/2c3q9K4cHzY/responses/7b9EnRI9VbY'/>
  2387.       <author><name>PismoBeach</name><uri>http://gdata.youtube.com/feeds/users/pismobeach</uri></author>
  2388.         <media:group>
  2389.           <media:title type='plain'>Catnip Party</media:title>
  2390.           <media:description type='plain'>Uncle, Hillary, Hankette, and B4 all but overdose on the patio</media:description><media:keywords>Brattman, cat, catmint, catnip, cats, chat, drug, gato, gatto, kat, kato, katt, Katze, kedi, kissa, OD, overdose, party, sex, Uncle</media:keywords>
  2391.           <yt:duration seconds='139'/>
  2392.           <media:category label='Pets & Animals' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Animals</media:category>
  2393.           <media:content url='http://www.youtube.com/v/7b9EnRI9VbY' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='139' yt:format='5'/>
  2394.           <media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQm2VT0SnUS_7RMYDSANFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='139' yt:format='1'/>
  2395.           <media:content url='rtsp://rtsp2.youtube.com/ChoLENy73wIaEQm2VT0SnUS_7RMYESARFEgGDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='139' yt:format='6'/>
  2396.           <media:player url='http://www.youtube.com/watch?v=7b9EnRI9VbY'/>
  2397.           <media:thumbnail url='http://img.youtube.com/vi/7b9EnRI9VbY/2.jpg' height='97' width='130' time='00:01:09.500'/>
  2398.           <media:thumbnail url='http://img.youtube.com/vi/7b9EnRI9VbY/1.jpg' height='97' width='130' time='00:00:34.750'/>
  2399.           <media:thumbnail url='http://img.youtube.com/vi/7b9EnRI9VbY/3.jpg' height='97' width='130' time='00:01:44.250'/>
  2400.           <media:thumbnail url='http://img.youtube.com/vi/7b9EnRI9VbY/0.jpg' height='240' width='320' time='00:01:09.500'/>
  2401.         </media:group>
  2402.         <yt:statistics viewCount='4235' favoriteCount='3'/>
  2403.         <gd:rating min='1' max='5' numRaters='24' average='3.54'/>
  2404.         <gd:comments>
  2405.           <gd:feedLink href='http://gdata.youtube.com/feeds/videos/7b9EnRI9VbY/comments' countHint='14'/>
  2406.         </gd:comments>
  2407.         </entry>
  2408. </feed>
  2409. """
  2410.  
  2411.  
  2412. YOUTUBE_PROFILE = """<?xml version='1.0' encoding='UTF-8'?>
  2413. <entry xmlns='http://www.w3.org/2005/Atom'
  2414.     xmlns:media='http://search.yahoo.com/mrss/'
  2415.     xmlns:yt='http://gdata.youtube.com/schemas/2007'
  2416.     xmlns:gd='http://schemas.google.com/g/2005'>
  2417.   <id>http://gdata.youtube.com/feeds/users/andyland74</id>
  2418.   <published>2006-10-16T00:09:45.000-07:00</published>
  2419.   <updated>2008-02-26T11:48:21.000-08:00</updated>
  2420.   <category scheme='http://gdata.youtube.com/schemas/2007/channeltypes.cat'
  2421.     term='Standard'/>
  2422.   <category scheme='http://schemas.google.com/g/2005#kind'
  2423.     term='http://gdata.youtube.com/schemas/2007#userProfile'/>
  2424.   <title type='text'>andyland74 Channel</title>
  2425.   <link rel='alternate' type='text/html'
  2426.     href='http://www.youtube.com/profile?user=andyland74'/>
  2427.   <link rel='self' type='application/atom+xml'
  2428.     href='http://gdata.youtube.com/feeds/users/andyland74'/>
  2429.   <author>
  2430.     <name>andyland74</name>
  2431.     <uri>http://gdata.youtube.com/feeds/users/andyland74</uri>
  2432.   </author>
  2433.   <yt:age>33</yt:age>
  2434.   <yt:username>andyland74</yt:username>
  2435.   <yt:firstName>andy</yt:firstName>
  2436.   <yt:lastName>example</yt:lastName>
  2437.   <yt:books>Catch-22</yt:books>
  2438.   <yt:gender>m</yt:gender>
  2439.   <yt:company>Google</yt:company>
  2440.   <yt:hobbies>Testing YouTube APIs</yt:hobbies>
  2441.   <yt:hometown>Somewhere</yt:hometown>
  2442.   <yt:location>US</yt:location>
  2443.   <yt:movies>Aqua Teen Hungerforce</yt:movies>
  2444.   <yt:music>Elliott Smith</yt:music>
  2445.   <yt:occupation>Technical Writer</yt:occupation>
  2446.   <yt:school>University of North Carolina</yt:school>
  2447.   <media:thumbnail url='http://i.ytimg.com/vi/YFbSxcdOL-w/default.jpg'/>
  2448.   <yt:statistics viewCount='9' videoWatchCount='21' subscriberCount='1'
  2449.     lastWebAccess='2008-02-25T16:03:38.000-08:00'/>
  2450.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.favorites'
  2451.     href='http://gdata.youtube.com/feeds/users/andyland74/favorites' countHint='4'/>
  2452.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.contacts'
  2453.     href='http://gdata.youtube.com/feeds/users/andyland74/contacts' countHint='1'/>
  2454.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.inbox'
  2455.     href='http://gdata.youtube.com/feeds/users/andyland74/inbox' countHint='0'/>
  2456.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.playlists'
  2457.     href='http://gdata.youtube.com/feeds/users/andyland74/playlists'/>
  2458.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.subscriptions'
  2459.     href='http://gdata.youtube.com/feeds/users/andyland74/subscriptions' countHint='4'/>
  2460.   <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads'
  2461.     href='http://gdata.youtube.com/feeds/users/andyland74/uploads' countHint='1'/>
  2462. </entry>"""
  2463.  
  2464. YOUTUBE_CONTACTS_FEED = """<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:yt='http://gdata.youtube.com/schemas/2007' xmlns:gd='http://schemas.google.com/g/2005'>
  2465.   <id>http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts</id><updated>2008-05-16T19:24:34.916Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#friend'/><title type='text'>apitestjhartmann's Contacts</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/profile_friends?user=apitestjhartmann'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts?start-index=1&max-results=25'/><author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author><generator version='beta' uri='http://gdata.youtube.com/'>YouTube data API</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2466.     <entry>
  2467.       <id>http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/test89899090</id><published>2008-02-04T11:27:54.000-08:00</published><updated>2008-05-16T19:24:34.916Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#friend'/><title type='text'>test89899090</title><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/test89899090'/><link rel='alternate' type='text/html' href='http://www.youtube.com/profile?user=test89899090'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/test89899090'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/test89899090'/><author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author><yt:username>test89899090</yt:username><yt:status>requested</yt:status></entry>
  2468.     <entry>
  2469.       <id>http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/testjfisher</id><published>2008-02-26T14:13:03.000-08:00</published><updated>2008-05-16T19:24:34.916Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#friend'/><title type='text'>testjfisher</title><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/testjfisher'/><link rel='alternate' type='text/html' href='http://www.youtube.com/profile?user=testjfisher'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/testjfisher'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/users/apitestjhartmann/contacts/testjfisher'/><author><name>apitestjhartmann</name><uri>http://gdata.youtube.com/feeds/users/apitestjhartmann</uri></author><yt:username>testjfisher</yt:username><yt:status>pending</yt:status></entry>
  2470. </feed>"""
  2471.  
  2472. NEW_CONTACT = """<?xml version='1.0' encoding='UTF-8'?>
  2473. <entry xmlns='http://www.w3.org/2005/Atom' 
  2474.        xmlns:gd='http://schemas.google.com/g/2005'
  2475.        xmlns:gContact='http://schemas.google.com/contact/2008'>
  2476.   <id>http://www.google.com/m8/feeds/contacts/liz%40gmail.com/base/8411573</id>
  2477.   <updated>2008-02-28T18:47:02.303Z</updated>
  2478.   <category scheme='http://schemas.google.com/g/2005#kind'
  2479.     term='http://schemas.google.com/contact/2008#contact' />
  2480.   <title type='text'>Fitzgerald</title>
  2481.   <content type='text'>Notes</content>
  2482.   <link rel='self' type='application/atom+xml'
  2483.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full/8411573' />
  2484.   <link rel='edit' type='application/atom+xml'
  2485.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full/8411573/1204224422303000' />
  2486.   <gd:email rel='http://schemas.google.com/g/2005#work'
  2487.     address='liz@gmail.com' />
  2488.   <gd:email rel='http://schemas.google.com/g/2005#home'
  2489.     address='liz@example.org' />
  2490.   <gd:phoneNumber rel='http://schemas.google.com/g/2005#work'
  2491.     primary='true'>(206)555-1212</gd:phoneNumber>
  2492.   <gd:phoneNumber rel='http://schemas.google.com/g/2005#other' 
  2493.     primary='true'>456-123-2133</gd:phoneNumber>
  2494.   <gd:phoneNumber rel='http://schemas.google.com/g/2005#home'>(206)555-1213</gd:phoneNumber>
  2495.   <gd:extendedProperty name="pet" value="hamster" />
  2496.   <gd:extendedProperty name="cousine"> 
  2497.     <italian />
  2498.   </gd:extendedProperty>
  2499.   <gContact:groupMembershipInfo deleted="false" href="http://google.com/m8/feeds/groups/liz%40gmail.com/base/270f" /> 
  2500.   <gd:im address='liz@gmail.com'
  2501.     protocol='http://schemas.google.com/g/2005#GOOGLE_TALK'
  2502.     rel='http://schemas.google.com/g/2005#home' />
  2503.   <gd:postalAddress rel='http://schemas.google.com/g/2005#work'
  2504.     primary='true'>1600 Amphitheatre Pkwy Mountain View</gd:postalAddress>
  2505. </entry>"""
  2506.  
  2507. CONTACTS_FEED = """<?xml version='1.0' encoding='UTF-8'?>
  2508. <feed xmlns='http://www.w3.org/2005/Atom'
  2509.     xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
  2510.     xmlns:gd='http://schemas.google.com/g/2005'
  2511.     xmlns:gContact='http://schemas.google.com/contact/2008'
  2512.     xmlns:batch='http://schemas.google.com/gdata/batch'>
  2513.   <id>http://www.google.com/m8/feeds/contacts/liz%40gmail.com/base</id>
  2514.   <updated>2008-03-05T12:36:38.836Z</updated>
  2515.   <category scheme='http://schemas.google.com/g/2005#kind'
  2516.     term='http://schemas.google.com/contact/2008#contact' />
  2517.   <title type='text'>Contacts</title>
  2518.   <link rel='http://schemas.google.com/g/2005#feed'
  2519.     type='application/atom+xml'
  2520.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full' />
  2521.   <link rel='http://schemas.google.com/g/2005#post'
  2522.     type='application/atom+xml'
  2523.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full' />
  2524.   <link rel='http://schemas.google.com/g/2005#batch'
  2525.     type='application/atom+xml'
  2526.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full/batch' />
  2527.   <link rel='self' type='application/atom+xml'
  2528.     href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full?max-results=25' />
  2529.   <author>
  2530.     <name>Elizabeth Bennet</name>
  2531.     <email>liz@gmail.com</email>
  2532.   </author>
  2533.   <generator version='1.0' uri='http://www.google.com/m8/feeds/contacts'>
  2534.     Contacts
  2535.   </generator>
  2536.   <openSearch:totalResults>1</openSearch:totalResults>
  2537.   <openSearch:startIndex>1</openSearch:startIndex>
  2538.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2539.   <entry>
  2540.     <id>
  2541.       http://www.google.com/m8/feeds/contacts/liz%40gmail.com/base/c9012de
  2542.     </id>
  2543.     <updated>2008-03-05T12:36:38.835Z</updated>
  2544.     <category scheme='http://schemas.google.com/g/2005#kind'
  2545.       term='http://schemas.google.com/contact/2008#contact' />
  2546.     <title type='text'>Fitzgerald</title>
  2547.     <link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" 
  2548.       href="http://google.com/m8/feeds/photos/media/liz%40gmail.com/c9012de"/>
  2549.     <link rel="http://schemas.google.com/contacts/2008/rel#edit-photo" type="image/*" 
  2550.       href="http://www.google.com/m8/feeds/photos/media/liz%40gmail.com/c9012de/photo4524"/>
  2551.     <link rel='self' type='application/atom+xml'
  2552.       href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full/c9012de' />
  2553.     <link rel='edit' type='application/atom+xml'
  2554.       href='http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full/c9012de/1204720598835000' />
  2555.     <gd:phoneNumber rel='http://schemas.google.com/g/2005#home'
  2556.       primary='true'>
  2557.       456
  2558.     </gd:phoneNumber>
  2559.     <gd:extendedProperty name="pet" value="hamster" />
  2560.     <gContact:groupMembershipInfo deleted="false" href="http://google.com/m8/feeds/groups/liz%40gmail.com/base/270f" />
  2561.   </entry>
  2562. </feed>"""
  2563.  
  2564.  
  2565. CONTACT_GROUPS_FEED = """<?xml version="1.0" encoding="UTF-8"?>
  2566. <feed xmlns="http://www.w3.org/2005/Atom" 
  2567.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" 
  2568.   xmlns:gContact="http://schemas.google.com/contact/2008" 
  2569.   xmlns:batch="http://schemas.google.com/gdata/batch" 
  2570.   xmlns:gd="http://schemas.google.com/g/2005">
  2571.   <id>jo@gmail.com</id>
  2572.   <updated>2008-05-21T21:11:25.237Z</updated>
  2573.   <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#group"/>
  2574.   <title type="text">Jo's Contact Groups</title>
  2575.   <link rel="alternate" type="text/html" href="http://www.google.com/"/>
  2576.   <link rel="http://schemas.google.com/g/2005#feed" 
  2577.     type="application/atom+xml" 
  2578.     href="http://google.m/m8/feeds/groups/jo%40gmail.com/thin"/>
  2579.   <link rel="http://schemas.google.com/g/2005#post" 
  2580.       type="application/atom+xml" 
  2581.       href="http://google.m/m8/feeds/groups/jo%40gmail.com/thin"/>
  2582.   <link rel="http://schemas.google.com/g/2005#batch" 
  2583.       type="application/atom+xml" 
  2584.       href="http://googleom/m8/feeds/groups/jo%40gmail.com/thin/batch"/>
  2585.   <link rel="self" 
  2586.       type="application/atom+xml" 
  2587.       href="http://google.com/m8/feeds/groups/jo%40gmail.com/thin?max-results=25"/>
  2588.   <author>
  2589.     <name>Jo Brown</name>
  2590.     <email>jo@gmail.com</email>
  2591.   </author>
  2592.   <generator version="1.0" uri="http://google.com/m8/feeds">Contacts</generator>
  2593.   <openSearch:totalResults>3</openSearch:totalResults>
  2594.   <openSearch:startIndex>1</openSearch:startIndex>
  2595.   <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
  2596.   <entry>
  2597.     <id>http://google.com/m8/feeds/groups/jo%40gmail.com/base/270f</id>
  2598.     <updated>2008-05-14T13:10:19.070Z</updated>
  2599.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#group"/>
  2600.     <title type="text">joggers</title>
  2601.     <content type="text">joggers</content>
  2602.     <link rel="self" type="application/atom+xml" 
  2603.         href="http://google.com/m8/feeds/groups/jo%40gmail.com/thin/270f"/>
  2604.     <link rel="edit" type="application/atom+xml"
  2605.         href="http://google.com/m8/feeds/groups/jo%40gmail.com/thin/270f/1210770619070000"/>
  2606.   </entry>
  2607. </feed>"""
  2608.  
  2609. CONTACT_GROUP_ENTRY = """<?xml version="1.0" encoding="UTF-8"?>
  2610. <entry xmlns='http://www.w3.org/2005/Atom'
  2611.        xmlns:gd="http://schemas.google.com/g/2005">
  2612.     <category scheme="http://schemas.google.com/g/2005#kind"
  2613.         term="http://schemas.google.com/g/2005#group"/>
  2614.     <id>http://www.google.com/feeds/groups/jo%40gmail.com/base/1234</id>
  2615.     <published>2005-01-18T21:00:00Z</published>
  2616.     <updated>2006-01-01T00:00:00Z</updated>
  2617.     <title type="text">Salsa group</title>
  2618.     <content type="text">Salsa group</content>
  2619.     <link rel='self' type='application/atom+xml'
  2620.         href= 'http://www.google.com/m8/feeds/groups/jo%40gmail.com/full/2' />
  2621.     <link rel='edit' type='application/atom+xml'
  2622.         href='http://www.google.com/m8/feeds/groups/jo%40gmail.com/full/2/0'/>
  2623.     <gd:extendedProperty name="more info about the group">
  2624.         <info>Very nice people.</info>
  2625.     </gd:extendedProperty>
  2626. </entry>"""
  2627.  
  2628. BLOG_ENTRY = """<entry xmlns='http://www.w3.org/2005/Atom'>
  2629.   <id>tag:blogger.com,1999:blog-blogID.post-postID</id>
  2630.   <published>2006-08-02T18:44:43.089-07:00</published>
  2631.   <updated>2006-11-08T18:10:23.020-08:00</updated>
  2632.   <title type='text'>Lizzy's Diary</title>
  2633.   <summary type='html'>Being the journal of Elizabeth Bennet</summary>
  2634.   <link rel='alternate' type='text/html'
  2635.     href='http://blogName.blogspot.com/'>
  2636.   </link>
  2637.   <link rel='http://schemas.google.com/g/2005#feed'
  2638.     type='application/atom+xml'
  2639.     href='http://blogName.blogspot.com/feeds/posts/default'>
  2640.   </link>
  2641.   <link rel='http://schemas.google.com/g/2005#post'
  2642.     type='application/atom+xml'
  2643.     href='http://www.blogger.com/feeds/blogID/posts/default'>
  2644.   </link>
  2645.   <link rel='self' type='application/atom+xml'
  2646.     href='http://www.blogger.com/feeds/userID/blogs/blogID'>
  2647.   </link>
  2648.   <link rel='edit' type='application/atom+xml' 
  2649.       href='http://www.blogger.com/feeds/userID/blogs/blogID'>
  2650.   </link>
  2651.   <author>
  2652.     <name>Elizabeth Bennet</name>
  2653.     <email>liz@gmail.com</email>
  2654.   </author>
  2655. </entry>"""
  2656.  
  2657. BLOG_POST = """<entry xmlns='http://www.w3.org/2005/Atom'>
  2658.   <title type='text'>Marriage!</title>
  2659.   <content type='xhtml'>
  2660.     <div xmlns="http://www.w3.org/1999/xhtml">
  2661.       <p>Mr. Darcy has <em>proposed marriage</em> to me!</p>
  2662.       <p>He is the last man on earth I would ever desire to marry.</p>
  2663.       <p>Whatever shall I do?</p>
  2664.     </div>
  2665.   </content>
  2666.   <author>
  2667.     <name>Elizabeth Bennet</name>
  2668.     <email>liz@gmail.com</email>
  2669.   </author>
  2670. </entry>"""
  2671.  
  2672. BLOG_POSTS_FEED = """<feed xmlns='http://www.w3.org/2005/Atom'>
  2673.   <id>tag:blogger.com,1999:blog-blogID</id>
  2674.   <updated>2006-11-08T18:10:23.020-08:00</updated>
  2675.   <title type='text'>Lizzy's Diary</title>
  2676.   <link rel='alternate' type='text/html'
  2677.     href='http://blogName.blogspot.com/index.html'>
  2678.   </link>
  2679.   <link rel='http://schemas.google.com/g/2005#feed'
  2680.     type='application/atom+xml'
  2681.     href='http://blogName.blogspot.com/feeds/posts/default'>
  2682.   </link>
  2683.   <link rel='self' type='application/atom+xml'
  2684.     href='http://blogName.blogspot.com/feeds/posts/default'>
  2685.   </link>
  2686.   <author>
  2687.     <name>Elizabeth Bennet</name>
  2688.     <email>liz@gmail.com</email>
  2689.   </author>
  2690.   <generator version='7.00' uri='http://www2.blogger.com'>Blogger</generator>
  2691.   <entry>
  2692.     <id>tag:blogger.com,1999:blog-blogID.post-postID</id>
  2693.     <published>2006-11-08T18:10:00.000-08:00</published>
  2694.     <updated>2006-11-08T18:10:14.954-08:00</updated>
  2695.     <title type='text'>Quite disagreeable</title>
  2696.     <content type='html'><p>I met Mr. Bingley's friend Mr. Darcy
  2697.       this evening. I found him quite disagreeable.</p></content>
  2698.     <link rel='alternate' type='text/html'
  2699.       href='http://blogName.blogspot.com/2006/11/quite-disagreeable.html'>
  2700.     </link>
  2701.     <link rel='self' type='application/atom+xml'
  2702.       href='http://blogName.blogspot.com/feeds/posts/default/postID'>
  2703.     </link>
  2704.     <link rel='edit' type='application/atom+xml'
  2705.       href='http://www.blogger.com/feeds/blogID/posts/default/postID'>
  2706.     </link>
  2707.     <author>
  2708.       <name>Elizabeth Bennet</name>
  2709.       <email>liz@gmail.com</email>
  2710.     </author>
  2711.   </entry>
  2712. </feed>"""
  2713.  
  2714. BLOG_COMMENTS_FEED = """<feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
  2715.   <id>tag:blogger.com,1999:blog-blogID.postpostID..comments</id>
  2716.   <updated>2007-04-04T21:56:29.803-07:00</updated>
  2717.   <title type="text">My Blog : Time to relax</title>
  2718.   <link rel="alternate" type="text/html" href="http://blogName.blogspot.com/2007/04/first-post.html"/>
  2719.   <link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blogName.blogspot.com/feeds/postID/comments/default"/>
  2720.   <link rel="self" type="application/atom+xml" href="http://blogName.blogspot.com/feeds/postID/comments/default"/>
  2721.   <author>
  2722.     <name>Blog Author name</name>
  2723.   </author>
  2724.   <generator version="7.00" uri="http://www2.blogger.com">Blogger</generator>
  2725.   <openSearch:totalResults>1</openSearch:totalResults>
  2726.   <openSearch:startIndex>1</openSearch:startIndex>
  2727.   <entry>
  2728.     <id>tag:blogger.com,1999:blog-blogID.post-commentID</id>
  2729.     <published>2007-04-04T21:56:00.000-07:00</published>
  2730.     <updated>2007-04-04T21:56:29.803-07:00</updated>
  2731.     <title type="text">This is my first comment</title>
  2732.     <content type="html">This is my first comment</content>
  2733.     <link rel="alternate" type="text/html" href="http://blogName.blogspot.com/2007/04/first-post.html#commentID"/>
  2734.     <link rel="self" type="application/atom+xml" href="http://blogName.blogspot.com/feeds/postID/comments/default/commentID"/>
  2735.     <link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/blogID/postID/comments/default/commentID"/>
  2736.     <author>
  2737.       <name>Blog Author name</name>
  2738.     </author>
  2739.     <thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' 
  2740.         href='http://blogName.blogspot.com/2007/04/first-post.html' 
  2741.         ref='tag:blogger.com,1999:blog-blogID.post-postID' 
  2742.         source='http://blogName.blogspot.com/feeds/posts/default/postID'
  2743.         type='text/html' />
  2744.   </entry>
  2745. </feed>"""
  2746.  
  2747.  
  2748. SITES_FEED = """<feed xmlns="http://www.w3.org/2005/Atom"
  2749.   xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"
  2750.   xmlns:gd="http://schemas.google.com/g/2005"
  2751.   xmlns:wt="http://schemas.google.com/webmasters/tools/2007">
  2752.   <id>https://www.google.com/webmasters/tools/feeds/sites</id>
  2753.   <title>Sites</title>
  2754.   <openSearch:startIndex>1</openSearch:startIndex>
  2755.   <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/webmasters/tools/2007#sites-feed" />
  2756.   <link href="http://www.google.com/webmasters/tools/feeds/sites" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" />
  2757.   <link href="http://www.google.com/webmasters/tools/feeds/sites" rel="http://schemas.google.com/g/2005#post" type="application/atom+xml" />
  2758.   <link href="http://www.google.com/webmasters/tools/feeds/sites" rel="self" type="application/atom+xml" />
  2759.   <updated>2008-10-02T07:26:51.833Z</updated>
  2760.   <entry>
  2761.     <id>http://www.example.com</id>
  2762.     <title type="text">http://www.example.com</title>
  2763.     <link href="http://www.google.com/webmasters/tools/feeds/sites/http%3A%2F%2Fwww.example.com%2F" rel="self" type="application/atom+xml"/>
  2764.     <link href="http://www.google.com/webmasters/tools/feeds/sites/http%3A%2F%2Fwww.example.com%2F" rel="edit" type="application/atom+xml"/>
  2765.     <content src="http://www.example.com"/>
  2766.     <updated>2007-11-17T18:27:32.543Z</updated>
  2767.     <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/webmasters/tools/2007#site-info"/>
  2768.     <gd:entryLink rel="http://schemas.google.com/webmasters/tools/2007#verification" 
  2769.       href="https://www.google.com/webmasters/tools/feeds/http%3A%2F%2Fwww%2Eexample%2Ecom%2F/verification" />
  2770.     <gd:entryLink rel="http://schemas.google.com/webmasters/tools/2007#sitemaps" 
  2771.       href="https://www.google.com/webmasters/tools/feeds/http%3A%2F%2Fwww%2Eexample%2Ecom%2F/sitemaps" />
  2772.     <wt:indexed>true</wt:indexed>
  2773.     <wt:crawled>2008-09-14T08:59:28.000</wt:crawled>
  2774.     <wt:geolocation>US</wt:geolocation>
  2775.     <wt:preferred-domain>none</wt:preferred-domain>
  2776.     <wt:crawl-rate>normal</wt:crawl-rate>
  2777.     <wt:enhanced-image-search>true</wt:enhanced-image-search>
  2778.     <wt:verified>false</wt:verified>
  2779.     <wt:verification-method type="metatag" in-use="false"><meta name="verify-v1" content="a2Ai"/>
  2780.       </wt:verification-method>
  2781.     <wt:verification-method type="htmlpage" in-use="false">456456-google.html</wt:verification-method>
  2782.   </entry>
  2783. </feed>"""
  2784.  
  2785.  
  2786. SITEMAPS_FEED = """<feed xmlns="http://www.w3.org/2005/Atom" 
  2787.   xmlns:wt="http://schemas.google.com/webmasters/tools/2007">
  2788.   <id>http://www.example.com</id>
  2789.   <title type="text">http://www.example.com/</title>
  2790.   <updated>2006-11-17T18:27:32.543Z</updated>
  2791.   <link rel="self" type="application/atom+xml" 
  2792.     href="https://www.google.com/webmasters/tools/feeds/http%3A%2F%2Fwww%2Eexample%2Ecom%2F/sitemaps" />
  2793.   <category scheme='http://schemas.google.com/g/2005#kind' 
  2794.     term='http://schemas.google.com/webmasters/tools/2007#sitemaps-feed'/>
  2795.   <wt:sitemap-mobile>
  2796.     <wt:markup-language>HTML</wt:markup-language>
  2797.     <wt:markup-language>WAP</wt:markup-language>
  2798.   </wt:sitemap-mobile>
  2799.   <wt:sitemap-news>
  2800.     <wt:publication-label>Value1</wt:publication-label>
  2801.     <wt:publication-label>Value2</wt:publication-label>
  2802.     <wt:publication-label>Value3</wt:publication-label>
  2803.   </wt:sitemap-news>
  2804.   <entry>
  2805.     <id>http://www.example.com/sitemap-index.xml</id>
  2806.     <title type="text">http://www.example.com/sitemap-index.xml</title>
  2807.     <category scheme='http://schemas.google.com/g/2005#kind' 
  2808.       term='http://schemas.google.com/webmasters/tools/2007#sitemap-regular'/>
  2809.     <updated>2006-11-17T18:27:32.543Z</updated>
  2810.     <wt:sitemap-type>WEB</wt:sitemap-type>
  2811.     <wt:sitemap-status>StatusValue</wt:sitemap-status>
  2812.     <wt:sitemap-last-downloaded>2006-11-18T19:27:32.543Z</wt:sitemap-last-downloaded>
  2813.     <wt:sitemap-url-count>102</wt:sitemap-url-count>
  2814.   </entry>
  2815.   <entry>
  2816.     <id>http://www.example.com/mobile/sitemap-index.xml</id>
  2817.     <title type="text">http://www.example.com/mobile/sitemap-index.xml</title>
  2818.     <category scheme='http://schemas.google.com/g/2005#kind' 
  2819.       term='http://schemas.google.com/webmasters/tools/2007#sitemap-mobile'/>
  2820.     <updated>2006-11-17T18:27:32.543Z</updated>
  2821.     <wt:sitemap-status>StatusValue</wt:sitemap-status>
  2822.     <wt:sitemap-last-downloaded>2006-11-18T19:27:32.543Z</wt:sitemap-last-downloaded>
  2823.     <wt:sitemap-url-count>102</wt:sitemap-url-count>
  2824.     <wt:sitemap-mobile-markup-language>HTML</wt:sitemap-mobile-markup-language>
  2825.   </entry>
  2826.   <entry>
  2827.     <id>http://www.example.com/news/sitemap-index.xml</id>
  2828.     <title type="text">http://www.example.com/news/sitemap-index.xml</title>
  2829.     <category scheme='http://schemas.google.com/g/2005#kind' 
  2830.       term='http://schemas.google.com/webmasters/tools/2007#sitemap-news'/>
  2831.     <updated>2006-11-17T18:27:32.543Z</updated>
  2832.     <wt:sitemap-status>StatusValue</wt:sitemap-status>
  2833.     <wt:sitemap-last-downloaded>2006-11-18T19:27:32.543Z</wt:sitemap-last-downloaded>
  2834.     <wt:sitemap-url-count>102</wt:sitemap-url-count>
  2835.     <wt:sitemap-news-publication-label>LabelValue</wt:sitemap-news-publication-label>
  2836.   </entry>
  2837. </feed>"""
  2838.